root/trunk/bin/pear-phing

Revision 241, 0.8 kB (checked in by mrook, 1 year ago)

ticket:90 - Fix PEAR shell script

  • Property svn:executable set to *
  • Property svn:keywords set to author date id revision
Line 
1 #!/bin/sh
2
3 # ------------------------------------------------------------------------
4 # The phing build script for Unix based systems
5 # $Id$
6 # ------------------------------------------------------------------------
7
8 # Change this to reflect your environment if the default value doesn't work
9 PHP_COMMAND="@PHP-BIN@"
10 export PHP_COMMAND
11
12 # -------------------------------------------------------------------------
13 # Do not change anything below this line unless you know what you're doing.
14 # -------------------------------------------------------------------------
15
16 if (test -z "$PHP_COMMAND") ; then
17         echo "WARNING: PHP_COMMAND environment not set. (Assuming php on PATH)"
18         PHP_COMMAND=php
19         export PHP_COMMAND
20 fi
21
22 $PHP_COMMAND -d html_errors=off -qC @PEAR-DIR@/phing.php -logger phing.listener.AnsiColorLogger "$@"
Note: See TracBrowser for help on using the browser.