Ticket #25 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

phing script does not run on some platforms

Reported by: sheckler@sparknotes.com Assigned to:
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

04/12/06 07:42:59 changed by mrook

  • status changed from new to closed.
  • resolution set to fixed.

Hi, thanks for the suggestion! Fixed in r50.


Add/Change #25 (phing script does not run on some platforms)




Action