Package: zendframework / 1.12.9+dfsg-2

0001-Add-shebang-and-set-absolute-path-to-PHP-file.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Frank Habermann <habermann@2im.de>
Date: Sun, 6 Dec 2009 19:41:26 +0000
Subject: Add shebang and set absolute path to PHP file

---
 bin/zf.php | 1 +
 bin/zf.sh  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/zf.php b/bin/zf.php
index 57d9b34..6e55fc9 100755
--- a/bin/zf.php
+++ b/bin/zf.php
@@ -1,3 +1,4 @@
+#!/usr/bin/php5
 <?php
 /**
  * Zend Framework
diff --git a/bin/zf.sh b/bin/zf.sh
index 0794a30..54fb258 100755
--- a/bin/zf.sh
+++ b/bin/zf.sh
@@ -41,5 +41,5 @@ else
     PHP_DIR="$(dirname "$SELF_LINK")"
 fi
 
-"$PHP_BIN" -d safe_mode=Off -f "$PHP_DIR/zf.php" -- "$@"
+"$PHP_BIN" -d safe_mode=Off -f "/usr/share/zendframework/bin/zf.php" -- "$@"