summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-12-11 15:14:59 +0000
committerMarkos Chandras <mchandras@suse.de>2017-12-11 15:14:59 +0000
commit696988b2ab6b19d65334b41553f3b61d6cf1ecab (patch)
tree2de91ae744c028c33a8a0887b8f1d84b433efa35
parent175b1544882572c442702f4db8f0ead73df1413d (diff)
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 <mchandras@suse.de>
-rwxr-xr-xxci/xci-deploy.sh1
1 files changed, 1 insertions, 0 deletions
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 :-("