fix my stupid typo to fix ancient perls
[p5sagit/App-FatPacker.git] / lib / App / FatPacker.pm
index 62411b9..881c38f 100644 (file)
@@ -213,7 +213,7 @@ sub script_command_file {
         if ($] < 5.008) {
           return sub {
             return 0 unless length $fat;
-            $text =~ s/^([^\n]*\n?)//;
+            $fat =~ s/^([^\n]*\n?)//;
             $_ = $1;
             return 1;
           };