php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17259 Makefiles assume bash
Submitted: 2002-05-15 14:39 UTC Modified: 2002-05-30 12:42 UTC
From: dward at maidencreek dot com Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.2.1 OS: Solaris 2.7
Private report: No CVE-ID: None
 [2002-05-15 14:39 UTC] dward at maidencreek dot com
The problem is actually in the CVS tree, but I cannot select that as the version for this bug.

It seems that the Makefile assumes that the /bin/sh is really bash for install-pear-installer and install-pear-packages which use bash-specific methods (${descfile%.xml} and ${tmp#*-}) of modifying the variables instead of using sed or something else to do it.

Also note that if the directory path has a - in it then the bash variable modification methods do not work correctly either.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-30 03:59 UTC] mj@php.net
This should have been fixed in CVS. Please try the latest CVS version (http://cvs.php.net/co.php/php4/pear/Makefile.frag) and report, if the problem persists.
 [2002-05-30 12:42 UTC] dward at maidencreek dot com
The problem seems to have been corrected.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC