Modify

Ticket #25 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by mrook

  • Status changed from new to closed
  • Resolution set to fixed

Hi, thanks for the suggestion! Fixed in r50.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.