]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
ap-fetch-version: Use osstest's home to find master tree
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 25 Feb 2015 12:36:19 +0000 (12:36 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 25 Feb 2015 12:55:56 +0000 (12:55 +0000)
When ap-fetch-version and ap-fetch-version-old are run on the osstest
controller but as a different user they should look in ~osstest, not
$HOME, for the master testing.git tree.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
ap-fetch-version
ap-fetch-version-old

index 33aaf00b64456ae95dfc199884a16249478c66ce..8d7279685571cb5bdaa460cc0cfbe3152cca2238 100755 (executable)
@@ -91,7 +91,7 @@ ovmf)
        ;;
 osstest)
        if [ "x$OSSTEST_USE_HEAD" != "xy" ] ; then
-           git fetch $HOME/testing.git pretest:ap-fetch >&2
+           git fetch ~osstest/testing.git pretest:ap-fetch >&2
             git rev-parse ap-fetch^0
        else
            git rev-parse HEAD^0
index 8ca94686e3748854be70a67e985f4e46ab9a54fe..8f1bc82dc75c5742db017ee97960d985651bb430 100755 (executable)
@@ -98,7 +98,7 @@ ovmf)
                $BASE_TREE_OVMF xen-tested-master $BASE_LOCALREV_OVMF
        ;;
 osstest)
-       git fetch -f $HOME/testing.git incoming:ap-fetch
+       git fetch -f ~osstest/testing.git incoming:ap-fetch
         git rev-parse ap-fetch^0
         ;;
 *)