forked from extern/shorewall_code
Make buildports.pl work on other distributions
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6624 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
bbd506ebd6
commit
51e89cb35c
@ -40,7 +40,7 @@ sub print_it( $$ ) {
|
||||
my $tabs;
|
||||
my $length = length $name;
|
||||
|
||||
if ( $name =~ /[-.]/ ) {
|
||||
if ( $name =~ /\W/ || $name =~ /^\d/ ) {
|
||||
$tabs = "\t" x int ( ( 27 - $length ) / 8 );
|
||||
print "${offset}'${name}'${tabs}=> $number,\n";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user