Make the push-all script complain about bad lines
authorIan Lynagh <igloo@earth.li>
Tue, 29 Jul 2008 20:06:13 +0000 (20:06 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 29 Jul 2008 20:06:13 +0000 (20:06 +0000)
push-all

index d4491cf..545cbe2 100644 (file)
--- a/push-all
+++ b/push-all
@@ -67,6 +67,9 @@ sub pushall {
                 message "== $localpath repo not present; skipping";
             }
         }
+        elsif (! /^(#.*)?$/) {
+            die "Bad line: $_";
+        }
     }
     close IN;
 }