Use 'env' in the shebang instead of looking for php in /usr/bin.

This commit is contained in:
Daniele Alessandri
2011-08-23 15:34:25 +02:00
parent 8fdf935605
commit 647cd53235
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
// In order to be able to execute this script to create a Phar archive of Predis,
// the Phar module must be loaded and the "phar.readonly" directive php.ini must
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
// This script can be used to automatically glue all the .php files of Predis
// into a single monolithic script file that can be used without an autoloader,