X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fmasonize;h=3139e0af50e1f04ea095a0177a5dd6357b056fce;hp=def0115b777a94dfff855eb853606d49e77e4c1b;hb=e283ab567e6890727e4d8e35c1d8097398678753;hpb=ef7bb336cc67f127fb1d77532ad3da1369c0ae36 diff --git a/bin/masonize b/bin/masonize index def0115b7..3139e0af5 100755 --- a/bin/masonize +++ b/bin/masonize @@ -1,6 +1,7 @@ #!/usr/bin/perl -foreach $file ( split(/\n/, `find . -depth -print | grep cgi\$`) ) { +foreach $file ( split(/\n/, `find . -depth -print`) ) { + next unless $file =~ /(cgi|html)$/; open(F,$file) or die "can't open $file for reading: $!"; @file = ; #print "$file ". scalar(@file). "\n";