This commit is contained in:
rusefillc 2021-01-08 13:30:35 -05:00
parent 92615c7886
commit 603c674dec
1 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,8 @@ cd firmware
bash clean.sh bash clean.sh
cd .. cd ..
root_dir=$(pwd)
cd firmware/config/boards cd firmware/config/boards
pwd pwd
cd $BOARD_NAME cd $BOARD_NAME
@ -32,10 +34,12 @@ bash $COMPILE_SCRIPT
echo "We are in" echo "We are in"
pwd pwd
cd ${root_dir}
echo "We are now in"
pwd
[ -e ../../../build/rusefi.hex ] || { echo "Just to confirm - FAILED to compile with $COMPILE_SCRIPT"; exit 1; } [ -e firmware/build/rusefi.hex ] || { echo "Just to confirm - FAILED to compile with $COMPILE_SCRIPT"; exit 1; }
cd ../../../..
# We are back at root rusEFI folder # We are back at root rusEFI folder
pwd pwd