Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
unbrake Console/cake on osx
  • Loading branch information
AD7six committed Oct 4, 2012
1 parent 5140baf commit 52f2060
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/Console/cake
Expand Up @@ -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
Expand Down

0 comments on commit 52f2060

Please sign in to comment.