[freeside-commits] freeside/bin generate-table-module,1.5,1.6
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Jul 16 18:09:01 PDT 2009
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv11447
Modified Files:
generate-table-module
Log Message:
black magic to edit Mason.pm as well
Index: generate-table-module
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/generate-table-module,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- generate-table-module 19 Feb 2008 09:10:13 -0000 1.5
+++ generate-table-module 17 Jul 2009 01:08:59 -0000 1.6
@@ -66,6 +66,13 @@
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
###
More information about the freeside-commits
mailing list