Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

unbrake Console/cake on osx

  • Loading branch information...
commit 52f206064d818fd6827db68444d98acf0ad51b44 1 parent 5140baf
@AD7six AD7six authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/Console/cake
View
6 app/Console/cake
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.