[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 8/8] ap-fetch-version: Use osstest's home to find master tree



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@xxxxxxxxxxxxx>
---
 ap-fetch-version     |    2 +-
 ap-fetch-version-old |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ap-fetch-version b/ap-fetch-version
index 33aaf00..8d72796 100755
--- a/ap-fetch-version
+++ b/ap-fetch-version
@@ -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
diff --git a/ap-fetch-version-old b/ap-fetch-version-old
index 8ca9468..8f1bc82 100755
--- a/ap-fetch-version-old
+++ b/ap-fetch-version-old
@@ -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
         ;;
 *)
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.