tools/mkdep.sh should not report an error if there are no files on the command line

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3588 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-05-11 01:27:04 +00:00
parent ed7b827c68
commit c52c4c7dbd
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -156,9 +156,9 @@ if [ -z "$cc" ]; then
fi
if [ -z "$files" ]; then
echo "No files specified"
show_usage
exit 2
# Don't report an error -- this happens normally in some configurations
echo "# No files specified for dependency generataion"
exit 0
fi
# Check if this compiler generates Cygwin/Linux paths or Windows paths