--- a/make/scripts/compare.sh Fri Sep 22 15:32:09 2017 -0700
+++ b/make/scripts/compare.sh Mon Sep 25 10:21:23 2017 +0200
@@ -29,7 +29,7 @@
################################################################################
# Check that we are run via the wrapper generated by configure
-if [ -z "$SRC_ROOT" ]; then
+if [ -z "$TOPDIR" ]; then
echo "Error: You must run this script using build/[conf]/compare.sh"
exit 1
fi
@@ -56,7 +56,7 @@
STAT_PRINT_SIZE="-c %s"
fi
-COMPARE_EXCEPTIONS_INCLUDE="$SRC_ROOT/make/scripts/compare_exceptions.sh.incl"
+COMPARE_EXCEPTIONS_INCLUDE="$TOPDIR/make/scripts/compare_exceptions.sh.incl"
if [ ! -e "$COMPARE_EXCEPTIONS_INCLUDE" ]; then
echo "Error: Cannot locate the exceptions file, it should have been here: $COMPARE_EXCEPTIONS_INCLUDE"
exit 1