diff options
author | ivan <ivan> | 2003-08-08 02:02:41 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-08-08 02:02:41 +0000 |
commit | ef7bb336cc67f127fb1d77532ad3da1369c0ae36 (patch) | |
tree | c2497e7638806744c54097d2ecd017d4423dfd2e /bin | |
parent | 69ecd0e15d3de36b56ad133d5ae57dcddc53c63e (diff) |
- fix Mason profiling to pass-through images (for graph/)
- fix graph/money-time.cgi use of $m interfering with Mason
- fix graph/money-time-graph.cgi to set content-type in a Mason/ASP-independant
fashion
- (beginning of) includes!
- (beginning of) moving SQL search to including generic elements/search.html
- fix global.asa typo
- fix masonize to not prepend an extraneous blank line (breaking
graph/money-time-graph.cgi)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/masonize | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/masonize b/bin/masonize index 475c9a6bf..def0115b7 100755 --- a/bin/masonize +++ b/bin/masonize @@ -8,6 +8,7 @@ foreach $file ( split(/\n/, `find . -depth -print | grep cgi\$`) ) { system("chmod u+w $file"); open(W,">$file") or die "can't open $file for writing: $!"; select W; $| = 1; select STDOUT; + $newline = ''; #avoid prepending extraneous newlines $all = join('',@file); $mode = 'html'; @@ -26,7 +27,7 @@ foreach $file ( split(/\n/, `find . -depth -print | grep cgi\$`) ) { #die; next; } elsif ( $all =~ /^<%(.*)$/s ) { - print W "\n"; + print W $newline; $newline = "\n"; $all = $1; $mode = 'perlc'; next; |