From 696988b2ab6b19d65334b41553f3b61d6cf1ecab Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 11 Dec 2017 15:14:59 +0000 Subject: xci: Ensure we are in the root directory for bug reports During the XCI deployment we change directories in too many places. As a result of which, when something breaks, we may be outside the releng-xci checkout directory so we need to enter it again for all the git commands to work. Change-Id: I6adcff396fc5d7cce8bb07353dec26b76b1825a4 Signed-off-by: Markos Chandras --- xci/xci-deploy.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'xci') diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh index d5e41f66..5cc33416 100755 --- a/xci/xci-deploy.sh +++ b/xci/xci-deploy.sh @@ -4,6 +4,7 @@ set -o nounset set -o pipefail submit_bug_report() { + cd ${XCI_PATH} echo "" echo "-------------------------------------------------------------------------" echo "Oh nooooo! The XCI deployment failed miserably :-(" -- cgit 1.2.3-korg