diff --git a/app/Console/cake b/app/Console/cake index 447743d0b..95163ef44 100755 --- a/app/Console/cake +++ b/app/Console/cake @@ -26,7 +26,7 @@ while [ -h "$LIB" ]; do done LIB=$(dirname -- "$LIB")/ -APP=`pwd` +APP=$(dirname $(cd $(dirname $0) && pwd)) exec php -q "$LIB"cake.php -working "$APP" "$@"