5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-11 02:18:29 -04:00

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

View File

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