Merge commit '890b1ac0689984cb6bc4638cc2aa8ec869d14f91'

This commit is contained in:
px4dev
2013-01-06 01:55:37 -08:00
+4
View File
@@ -86,10 +86,14 @@ dodep ()
fi fi
done done
if [ -z "$fullpath" ]; then if [ -z "$fullpath" ]; then
if [ -r $1 ]; then
fullpath=$1
else
echo "# ERROR: No readable file for $1 found at any location" echo "# ERROR: No readable file for $1 found at any location"
show_usage show_usage
fi fi
fi fi
fi
$cc -M $cflags $fullpath || \ $cc -M $cflags $fullpath || \
( echo "# ERROR: $cc -M $cflags $fullpath FAILED"; exit 4; ) ( echo "# ERROR: $cc -M $cflags $fullpath FAILED"; exit 4; )