X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=buildtools%2Fcheck-experimental-syms.sh;h=7d1f3a568aae46e804f3b84b6b8d573e5b0e847c;hb=fac66b12954d5e00419056a59861ba299fe2c9b6;hp=d0915102d484132f41291b3755b34d9ac0f13256;hpb=49bcce138374458d1edd1c50d8e5726959108ef4;p=dpdk.git diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh index d0915102d4..7d1f3a568a 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