Skip to content

Commit

Permalink
Merge pull request #5 from phaldan/master
Browse files Browse the repository at this point in the history
Search php binary in user's $PATH is more flexibel
  • Loading branch information
wapmorgan authored May 9, 2017
2 parents aa66055 + f635703 commit 7a8d7cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/phpca
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
// ? create-project installation : require installation
$vendor_dir = is_dir(dirname(dirname((__FILE__))).'/vendor') ? dirname(dirname((__FILE__))).'/vendor' : dirname(dirname(dirname(dirname(__FILE__))));
Expand Down Expand Up @@ -57,4 +57,4 @@ if (!empty($args['FILES'])) {
echo PHP_EOL;
$analyzer->printUsedExtensions();
}
}
}

0 comments on commit 7a8d7cb

Please sign in to comment.