Skip to content

Commit

Permalink
Check mk/validate.mk exists before we try grepping it
Browse files Browse the repository at this point in the history
  • Loading branch information
igfoo committed Jun 26, 2011
1 parent ebef9be commit c629bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate
Expand Up @@ -146,7 +146,7 @@ the minimal testing procedure, please do further testing as necessary.
When you are satisfied that you haven't broken anything, go ahead and
push/send your patches.
EOF
if grep -q "^[^#]" mk/validate.mk
if [ -f mk/validate.mk ] && grep -q "^[^#]" mk/validate.mk
then
cat <<EOF
Expand Down

0 comments on commit c629bd1

Please sign in to comment.