File 0001-Add-shebang-and-set-absolute-path-to-PHP-file.patch of Package php-ZendFramework
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 0d8d43f..57a41b2 100755
--- a/bin/zf.php
+++ b/bin/zf.php
@@ -1,3 +1,4 @@
+#!/usr/bin/php
<?php
/**
* Zend Framework
diff --git a/bin/zf.sh b/bin/zf.sh
index 28a42ec..f27ddc6 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" -- "$@"