diff options
author | Ian Lynagh <igloo@earth.li> | 2011-06-26 15:57:47 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-06-26 15:57:47 +0100 |
commit | c629bd1539b1865cc28ce053234595e7aeb8a5c0 (patch) | |
tree | 7078abf73b3b040159995b62f4d49aaf9c34ebd2 /validate | |
parent | ebef9be4518bdb70b511b1eb21930938dbf6a2f9 (diff) | |
download | haskell-c629bd1539b1865cc28ce053234595e7aeb8a5c0.tar.gz |
Check mk/validate.mk exists before we try grepping it
Diffstat (limited to 'validate')
-rwxr-xr-x | validate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |