Skip to content

Instantly share code, notes, and snippets.

@havvg
Created October 6, 2011 20:05
Show Gist options
  • Save havvg/1268495 to your computer and use it in GitHub Desktop.
Save havvg/1268495 to your computer and use it in GitHub Desktop.
phing executable
#!/bin/sh
# ------------------------------------------------------------------------
# The phing build script for Unix based systems
# $Id: pear-phing 478 2009-07-29 17:25:59Z mrook $
# ------------------------------------------------------------------------
# Change this to reflect your environment if the default value doesn't work
PHP_COMMAND="/usr/bin/php"
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 /usr/lib/php/phing.php -logger phing.listener.AnsiColorLogger "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment