projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fix Mason profiling to pass-through images (for graph/)
[freeside.git]
/
bin
/
masonize
diff --git
a/bin/masonize
b/bin/masonize
index
475c9a6
..
def0115
100755
(executable)
--- 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;
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';
$all = join('',@file);
$mode = 'html';
@@
-26,7
+27,7
@@
foreach $file ( split(/\n/, `find . -depth -print | grep cgi\$`) ) {
#die;
next;
} elsif ( $all =~ /^<%(.*)$/s ) {
#die;
next;
} elsif ( $all =~ /^<%(.*)$/s ) {
- print W "\n";
+ print W
$newline; $newline =
"\n";
$all = $1;
$mode = 'perlc';
next;
$all = $1;
$mode = 'perlc';
next;