#!/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
export PHP_COMMAND="@PHP-BIN@"

# -------------------------------------------------------------------------
# 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)"
	export PHP_COMMAND=php
fi

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