diff --git a/regression_tests/run_regression_tests.sh b/regression_tests/run_regression_tests.sh index eb0430a09..829f4e3f2 100755 --- a/regression_tests/run_regression_tests.sh +++ b/regression_tests/run_regression_tests.sh @@ -115,6 +115,7 @@ if [ ! -d $BASELINE_DIR/libROM ]; then # Clone master branch to baseline directo recompile=1 else echo "The baseline branch ${BASELINE_DIR}/libROM exists" + cd ${BASELINE_DIR}/libROM num_changes=$(git rev-list HEAD...origin/master --count) nc=$(( $num_changes )) if [[ $nc != 0 ]]; then