test: fix build
[dpdk.git] / buildtools / check-experimental-syms.sh
index d091510..7d1f3a5 100755 (executable)
@@ -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