Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 397f2f4d934e4ca52a4bf95b8c0efb3b > files > 1

cakephp-1.3.13-2.mga3.src.rpm

diff --git a/cake/console/cake b/cake/console/cake
index c3d8567..e6b232f 100755
--- a/cake/console/cake
+++ b/cake/console/cake
@@ -18,17 +18,9 @@
 # @license              MIT License (http://www.opensource.org/licenses/mit-license.php)
 #
 ################################################################################
-LIB=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && LIB=$LIB/$(basename -- "$0")
-
-while [ -h $LIB ]; do
-    DIR=$(dirname -- "$LIB")
-    SYM=$(readlink $LIB)
-    LIB=$(cd $DIR && cd $(dirname -- "$SYM") && pwd)/$(basename -- "$SYM")
-done
-
-LIB=$(dirname -- "$LIB")/
+LIB=/usr/share/php/cakephp/cake/console/
 APP=`pwd`
 
 exec php -q ${LIB}cake.php -working "${APP}" "$@"
 
-exit;
\ No newline at end of file
+exit;