build_ci.sh: change back to original directory after running profile

.profile changes directory on Vagrant VMs.
This commit is contained in:
Peter Barker 2022-08-13 17:16:50 +10:00 committed by Peter Barker
parent 26d3ffc27d
commit a237a42390
1 changed files with 4 additions and 0 deletions

View File

@ -3,8 +3,12 @@
# This helps when doing large merges
# Andrew Tridgell, November 2011
XOLDPWD=$PWD # profile changes directory :-(
. ~/.profile
cd $XOLDPWD
set -ex
# CXX and CC are exported by default by travis