projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c35f53
)
tired of asking
author
ivan
<ivan>
Thu, 20 Aug 2009 09:26:18 +0000
(09:26 +0000)
committer
ivan
<ivan>
Thu, 20 Aug 2009 09:26:18 +0000
(09:26 +0000)
bin/generate-table-module
patch
|
blob
|
history
diff --git
a/bin/generate-table-module
b/bin/generate-table-module
index
7635962
..
16a23e5
100755
(executable)
--- a/
bin/generate-table-module
+++ b/
bin/generate-table-module
@@
-69,8
+69,12
@@
close DEST;
# add to FS/FS/Mason.pm
###
# 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");
+# it needs to be:
+# 1. disablable (have an option to turn it off)
+# 2. documented in the schema change docs
+#
+#my $magic = '# Sammath Naur';
+#system("perl -pi -e 's/$magic/use FS::$table;\n $magic/' FS/FS/Mason.pm");
###
# add FS/t/table.t
###
# add FS/t/table.t