summaryrefslogtreecommitdiffstats
path: root/buildtools/check-experimental-syms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/check-experimental-syms.sh')
-rwxr-xr-xbuildtools/check-experimental-syms.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh
index d0915102..7d1f3a56 100755
--- a/buildtools/check-experimental-syms.sh
+++ b/buildtools/check-experimental-syms.sh
@@ -5,6 +5,12 @@
MAPFILE=$1
OBJFILE=$2
+# added check for "make -C test/" usage
+if [ ! -e $MAPFILE ] || [ ! -f $OBJFILE ]
+then
+ exit 0
+fi
+
if [ -d $MAPFILE ]
then
exit 0