summaryrefslogtreecommitdiff
path: root/bin/masonize
diff options
context:
space:
mode:
authorivan <ivan>2003-08-08 05:42:13 +0000
committerivan <ivan>2003-08-08 05:42:13 +0000
commite283ab567e6890727e4d8e35c1d8097398678753 (patch)
tree2b15e95819c245027d1b8cb9f0976fd49b5b4190 /bin/masonize
parentef7bb336cc67f127fb1d77532ad3da1369c0ae36 (diff)
- (finish) includes! (closes: Bug#551)
- (finish) moving SQL search to including generic elements/search.html - new elements: menubar.html, header.html, pager.html and table.html - have masonize process .html files also
Diffstat (limited to 'bin/masonize')
-rwxr-xr-xbin/masonize3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/masonize b/bin/masonize
index def0115..3139e0a 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 = <F>;
#print "$file ". scalar(@file). "\n";