X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=bin%2Ffatpack;h=83c395ef7a0725145f2ef50f46fbf0c051d8adfe;hb=fatpack-file-param-moves-shebang;hp=1ad9cb25322f03ab9cd76d88eb25d372a729950b;hpb=cb50b68f68147a118d4dfafcbab3f2fa0cddcf44;p=p5sagit%2FApp-FatPacker.git diff --git a/bin/fatpack b/bin/fatpack index 1ad9cb2..83c395e 100755 --- a/bin/fatpack +++ b/bin/fatpack @@ -65,10 +65,7 @@ Current basic recipe for packing: $ fatpack trace myscript.pl $ fatpack packlists-for `cat fatpacker.trace` >packlists $ fatpack tree `cat packlists` - $ (head -n1 myscript.pl |grep '^#!'; fatpack file; cat myscript.pl) >myscript.packed.pl - -The C code pulls out the Unix shebang -line, if there is one, and injects it at the start of the packed script. + $ fatpack file myscript.pl >myscript.packed.pl =head1 COPYRIGHT, LICENSE, AUTHOR