Skip to content

Commit

Permalink
Fixed phar-cli-stub.php being broken by a recent pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Feb 20, 2011
1 parent aab5b20 commit e6d1b99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions package.php
Expand Up @@ -11,6 +11,10 @@

$pharName = "$buildDir/doctrine-migrations.phar";

if (!file_exists($buildDir)) {
mkdir($buildDir);
}

if (file_exists($pharName)) {
unlink($pharName);
}
Expand Down
4 changes: 3 additions & 1 deletion phar-cli-stub.php
Expand Up @@ -55,4 +55,6 @@
? include('migrations-output.php')
: null;

$cli->run($input, $output);
$cli->run($input, $output);

__HALT_COMPILER();

0 comments on commit e6d1b99

Please sign in to comment.