Commit 16b7a5f3 authored by Robert Ricci's avatar Robert Ricci
Browse files

Make process-acl skip Cisco comment lines

This allows us to put things like RCS IDs (which include
'$'s) into the comments of config files.
parent c313f60c
......@@ -72,6 +72,10 @@ foreach my $filename (@filenames) {
# Do the actual replacement
while (<IN>) {
# Skip comment lines
if (/^\s*!/) {
while (/\$(\w+)/) {
if (!$vars{$1}) {
die "Unknown variable: $1\n";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment