summaryrefslogtreecommitdiff
path: root/buildscripts/phing/bin/pear-phing
blob: bf568c176ebec6dc12af61e6c88773b049cd6129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# ------------------------------------------------------------------------
# The phing build script for Unix based systems
# $Id: pear-phing,v 1.3 2003/12/23 19:45:14 hlellelid Exp $
# ------------------------------------------------------------------------

# Change this to reflect your environment if the default value doesn't work
PHP_COMMAND="@PHP-BIN@"
export PHP_COMMAND

# -------------------------------------------------------------------------
# Do not change anything below this line unless you know what you're doing.
# -------------------------------------------------------------------------

if (test -z "$PHP_COMMAND") ; then
	echo "WARNING: PHP_COMMAND environment not set. (Assuming php on PATH)"
	PHP_COMMAND=php
	export PHP_COMMAND
fi

$PHP_COMMAND -d html_errors=off -qC @PEAR-DIR@/phing.php -logger phing.listener.AnsiColorLogger $*