Skip to content

Commit

Permalink
Merge pull request #41 from h2s/master
Browse files Browse the repository at this point in the history
Fixes an error when generating a phar
  • Loading branch information
pda committed Apr 13, 2012
2 parents 9bff1f2 + 1b05410 commit 261851a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makephar.php
Expand Up @@ -7,7 +7,7 @@
$bootstrapFile = file_get_contents(__DIR__ . '/pheanstalk_init.php');
$bootstrapFile = str_replace('<?php', '', $bootstrapFile);

$stub .= "<?php" . PHP_EOL;
$stub = "<?php" . PHP_EOL;
$stub .= "Phar::mapPhar();" . PHP_EOL;
$stub .= $bootstrapFile . PHP_EOL;
$stub .= "__HALT_COMPILER();" . PHP_EOL;
Expand Down

0 comments on commit 261851a

Please sign in to comment.