Permalink
Browse files

unbrake Console/cake on osx

  • Loading branch information...
1 parent 5140baf commit 52f206064d818fd6827db68444d98acf0ad51b44 @AD7six AD7six committed Oct 4, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/Console/cake
View
@@ -17,7 +17,11 @@
# @license MIT License (http://www.opensource.org/licenses/mit-license.php)
#
################################################################################
-ME=$(readlink -f $0)
+if [[ `uname` =~ 'Darwin' ]]; then
+ ME=$0
+else
+ ME=$(readlink -f $0)
+fi
LIB=$(cd -P -- "$(dirname -- "$ME")" && pwd -P) && LIB=$LIB/$(basename -- "$ME")
while [ -h "$LIB" ]; do

0 comments on commit 52f2060

Please sign in to comment.