X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=bin%2Ffatpack;h=b9aa5a14c19954219f082a14fba40f1ea3e1da44;hb=cf20bfa307182c74a367312d0a30e95854a378f5;hp=82f888f8189b31ce7c70e1eaaae89e80c773b7a8;hpb=a5a1d543c0307e4cf2085b5ac18c70e0e27a6eb8;p=p5sagit%2FApp-FatPacker.git diff --git a/bin/fatpack b/bin/fatpack index 82f888f..b9aa5a1 100755 --- a/bin/fatpack +++ b/bin/fatpack @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl use App::FatPacker -run_script; @@ -74,10 +74,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