diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2014-09-12 13:18:53 -0600 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2014-09-12 13:18:53 -0600 |
commit | 2df887dae725e5b7f8b780e487e9b0b9b99b79f4 (patch) | |
tree | 7686f4f01d66dc266e48d8602001fa0b7656dcdf /test-backport.sh | |
parent | bed5781f368c0bc47b0fe4313fe6212644e2ed28 (diff) |
corrrectly clone the branch for testing
Diffstat (limited to 'test-backport.sh')
-rwxr-xr-x | test-backport.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test-backport.sh b/test-backport.sh index 8d0b72f..b8e5890 100755 --- a/test-backport.sh +++ b/test-backport.sh @@ -45,7 +45,8 @@ cbuild="`which $0`" topdir="${cbuild_path}" cbuild2="`basename $0`" -snapshots="" +snapshots="${local_snapshots}" +git_reference_dir="${snapshots}" repo="gcc.git" fileserver="" branch="" @@ -74,7 +75,7 @@ else snapshots="${local_snapshots}" fi -if ! test -e ${srcdir}; then +if test ! -e ${srcdir}; then # (cd ${local_snapshots}/${repo} && git pull) git-new-workdir ${git_reference_dir}/${repo} ${srcdir} ${branch} #else @@ -125,4 +126,4 @@ if test x"${fileserver}" != x; then fi # Diff the two directories -${topdir}/tcwgweb.sh --tdir ${resultsdir}${revisions[0]} ${resultsdir}${revisions[1]} +${topdir}/tcwgweb.sh --email --tdir ${resultsdir}${revisions[0]} ${resultsdir}${revisions[1]} |