root/branches/1.3/generator/pear/pear-propel-gen
| Revision 3, 0.8 kB (checked in by hans, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | # ------------------------------------------------------------------------ |
| 4 | # The phing build script for Unix based systems |
| 5 | # $Id: pear-propel-gen,v 1.2 2004/10/17 13:24:09 hlellelid Exp $ |
| 6 | # ------------------------------------------------------------------------ |
| 7 | |
| 8 | # Change this to reflect your environment if the default value doesn't work |
| 9 | export PHING_COMMAND="phing" |
| 10 | |
| 11 | # ------------------------------------------------------------------------- |
| 12 | # Do not change anything below this line unless you know what you're doing. |
| 13 | # ------------------------------------------------------------------------- |
| 14 | |
| 15 | # (currently this is not reached) |
| 16 | if (test -z "$PHING_COMMAND") ; then |
| 17 | echo "WARNING: PHP_COMMAND environment not set. (Assuming phing on PATH)" |
| 18 | export PHING_COMMAND=php |
| 19 | fi |
| 20 | |
| 21 | $PHING_COMMAND -f @DATA-DIR@/propel_generator/pear-build.xml -Dproject.dir=$* |
Note: See TracBrowser for help on using the browser.
