]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
bundle.sh: comment line fixup
authorJason Ish <jason.ish@oisf.net>
Tue, 3 May 2022 19:36:11 +0000 (13:36 -0600)
committerVictor Julien <vjulien@oisf.net>
Sat, 6 Aug 2022 06:17:57 +0000 (08:17 +0200)
Accept lines that start with a hash, but not immediately followed by a
space as a comment as well.

scripts/bundle.sh

index 44f634fbc684fe3e570abe7f73e5f5abd03c0115..46c0c0500cd99c4c5e51af4ab370fe87a6b8375e 100755 (executable)
@@ -35,7 +35,7 @@ while IFS= read -r requirement; do
             rm -rf libhtp
             git clone "${repo}" -b "${branch}" libhtp
             ;;
-        \#)
+        \#*)
             # Ignore comment.
             ;;
         "")