Permalink
Browse files

Fix Bug #16423: Path to php binary should not be hardcoded

git-svn-id: http://svn.php.net/repository/pear/packages/Date_Holidays/trunk@286748 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent e1a00a7 commit 5444ae245e88feb6005d35cb971e6007f786d4b2 @kenguest kenguest committed Aug 3, 2009
Showing with 27 additions and 10 deletions.
  1. +24 −7 package2.xml
  2. +1 −1 pear-dh-compile-translationfile
  3. +2 −2 pear-dh-ini2xml
View
31 package2.xml
@@ -28,10 +28,10 @@
<email>wiesemann@php.net</email>
<active>no</active>
</contributor>
- <date>2009-03-24</date>
- <time>00:12:41</time>
+ <date>2009-08-03</date>
+ <time>18:33:41</time>
<version>
- <release>0.21.2</release>
+ <release>0.21.3</release>
<api>0.17.2</api>
</version>
<stability>
@@ -40,9 +40,7 @@
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- * Fix Bug #16053: Dependency regression added with 0.21.1
- * Dependency on PEAR updated to version 1.6.0
- * Dependency on PHP updated to 4.4.9 or newer
+ * Fix Bug #16423: Path to php binary should not be hardcoded
</notes>
<contents>
<dir name="/">
@@ -101,7 +99,9 @@
<file baseinstalldir="Date" name="test_missingLocale.php" role="test" />
</dir> <!-- /tests -->
<file baseinstalldir="Date" name="Holidays.php" role="php" />
- <file baseinstalldir="/" name="pear-dh-compile-translationfile" role="script" />
+ <file baseinstalldir="/" name="pear-dh-compile-translationfile" role="script">
+ <tasks:replace from="@PHP-BIN@" to="php_bin" type="pear-config" />
+ </file>
<file baseinstalldir="/" name="pear-dh-ini2xml" role="script" />
</dir> <!-- / -->
</contents>
@@ -621,5 +621,22 @@
* Add Date_Holidays_Italy as a group item.
</notes>
</release>
+ <release>
+ <version>
+ <release>0.21.2</release>
+ <api>0.17.2</api>
+ </version>
+ <stability>
+ <release>alpha</release>
+ <api>alpha</api>
+ </stability>
+ <date>2009-03-24</date>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>
+ * Fix Bug #16053: Dependency regression added with 0.21.1
+ * Dependency on PEAR updated to version 1.6.0
+ * Dependency on PHP updated to 4.4.9 or newer
+ </notes>
+ </release>
</changelog>
</package>
View
2 pear-dh-compile-translationfile
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!@PHP-BIN@
<?php
/**
View
4 pear-dh-ini2xml
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!@PHP-BIN@
<?php
/**
* Converts the old-style INI-language files into XML-files that
@@ -58,4 +58,4 @@ foreach ($_SERVER['argv'] as $filename) {
-?>
+?>

0 comments on commit 5444ae2

Please sign in to comment.