summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-06-26 15:57:47 +0100
committerIan Lynagh <igloo@earth.li>2011-06-26 15:57:47 +0100
commitc629bd1539b1865cc28ce053234595e7aeb8a5c0 (patch)
tree7078abf73b3b040159995b62f4d49aaf9c34ebd2 /validate
parentebef9be4518bdb70b511b1eb21930938dbf6a2f9 (diff)
downloadhaskell-c629bd1539b1865cc28ce053234595e7aeb8a5c0.tar.gz
Check mk/validate.mk exists before we try grepping it
Diffstat (limited to 'validate')
-rwxr-xr-xvalidate2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate b/validate
index 0a0677e908..32432b60be 100755
--- a/validate
+++ b/validate
@@ -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