[BUGFIX] cli_dispatch.phpsh respects path to php
authorMarkus Bucher <markusbucher@gmx.de>
Thu, 14 Jul 2011 18:55:16 +0000 (20:55 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 16 Jul 2011 00:09:42 +0000 (02:09 +0200)
Using '#! /usr/bin/env php' as shebang respects the environment, so
if e.g. /usr/local/bin is in your PATH, this php will be chosen.

Change-Id: Ia5e6c5ed3c3615bec373b3075daf0f43721584ce
Resolves: #24506
Reviewed-on: http://review.typo3.org/3331
Reviewed-by: Andreas Lappe
Tested-by: Andreas Lappe
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/cli_dispatch.phpsh

index 2b0316d..43c88a7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/php -q
+#! /usr/bin/env php
 <?php
 /***************************************************************
 *  Copyright notice