Просмотр исходного кода

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

Daniele Alessandri 14 лет назад
Родитель
Сommit
647cd53235
2 измененных файлов с 2 добавлено и 2 удалено
  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,