projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bcdea1
)
black magic to edit Mason.pm as well
author
jeff
<jeff>
Fri, 17 Jul 2009 01:08:59 +0000
(
01:08
+0000)
committer
jeff
<jeff>
Fri, 17 Jul 2009 01:08:59 +0000
(
01:08
+0000)
bin/generate-table-module
patch
|
blob
|
history
diff --git
a/bin/generate-table-module
b/bin/generate-table-module
index
509feed
..
7635962
100755
(executable)
--- a/
bin/generate-table-module
+++ b/
bin/generate-table-module
@@
-66,6
+66,13
@@
close SRC;
close DEST;
###
+# add to FS/FS/Mason.pm
+###
+
+my $magic = '# Sammath Naur';
+system("perl -pi -e 's/$magic/use FS::$table;\n $magic/' FS/FS/Mason.pm");
+
+###
# add FS/t/table.t
###