Modify ↓
Ticket #25 (closed defect: fixed)
phing script does not run on some platforms
| Reported by: | sheckler@… | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.2.0 |
| Component: | Version: | 2.2.0RC1 | |
| Keywords: | Cc: |
Description
The phing CLI script uses bash syntax, but its shebang line points to sh. This works on Linux, where sh is usually just a variant of bash. However it will not run at all on more traditional UNIXes like Solaris.
this:
export PHP_COMMAND="/usr/local/bin/php"
should be:
PHP_COMMAND=/usr/local/bin/php export PHP_COMMAND
This is a tiny mistake; but it has a big impact!
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Hi, thanks for the suggestion! Fixed in r50.