Check whether mk/validate.mk defines anything after validating
authorIan Lynagh <igloo@earth.li>
Tue, 7 Oct 2008 14:48:55 +0000 (14:48 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 7 Oct 2008 14:48:55 +0000 (14:48 +0000)
validate

index d6f1c15..5d0afb4 100644 (file)
--- a/validate
+++ b/validate
@@ -111,6 +111,14 @@ 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
+        then
+            cat <<EOF
+
+WARNING: You seem to have things set in mk/validate.mk. Please check
+that it is OK before pushing.
+EOF
+        fi
     else
         cat <<EOF
 I didn't find any problems, but this wasn't a complete validate run,