I had to rewrite the zf.sh script as follows to get it to work for me.  The
$( ) were replaced with ``.  Has anyone else had this problem?  If so, do
you have problems with the applications.


# find php: pear first, command -v second, straight up php lastly
if test "@php_bin@" != '@'php_bin'@'; then
    PHP_BIN="@php_bin@"
elif command -v php 1>/dev/null 2>/dev/null; then
    PHP_BIN=`command -v php`
else
    PHP_BIN=php
fi

# find zf.php: pear first, same directory 2nd, 
if test "@php_dir@" != '@'php_dir'@'; then
    PHP_DIR="@php_dir@"
else
    SELF_LINK="$0"
    SELF_LINK_TMP="`readlink $SELF_LINK`"
    while test -n "$SELF_LINK_TMP"; do
        SELF_LINK="$SELF_LINK_TMP"
        SELF_LINK_TMP="`readlink $SELF_LINK`"
    done
    PHP_DIR="`dirname $SELF_LINK`"
fi

"$PHP_BIN" -d safe_mode=Off -f "$PHP_DIR/zf.php" -- "$@"
-- 
View this message in context: 
http://n4.nabble.com/quickstart-1-10-2-and-zf-sh-tp1586259p1586259.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to