From: jeff Date: Fri, 17 Jul 2009 01:08:59 +0000 (+0000) Subject: black magic to edit Mason.pm as well X-Git-Tag: root_of_svc_elec_features~1008 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=72758ac1d94a4ce47e3160ee6227a5e191911c57 black magic to edit Mason.pm as well --- diff --git a/bin/generate-table-module b/bin/generate-table-module index 509feeded..76359623f 100755 --- 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 ###