From: Ian Jackson Subject: [OSSTEST PATCH 8/8] ap-fetch-version: Use osstest's home to find master tree Date: Wed, 25 Feb 2015 13:01:17 +0000 Message-ID: <1424869277-16764-9-git-send-email-ian.jackson@eu.citrix.com> References: <1424869277-16764-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YQbbX-0004PN-Fq for xen-devel@lists.xenproject.org; Wed, 25 Feb 2015 13:02:19 +0000 In-Reply-To: <1424869277-16764-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- 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