Browse Source

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

Daniele Alessandri 14 years ago
parent
commit
647cd53235
2 changed files with 2 additions and 2 deletions
  1. 1 1
      bin/createPhar.php
  2. 1 1
      bin/createSingleFile.php

+ 1 - 1
bin/createPhar.php

@@ -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
bin/createSingleFile.php

@@ -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,