Permalink
Browse files

Remove readlink -f from mac script and replace it with something that…

… hopefully works on mac :)
  • Loading branch information...
1 parent 390e470 commit 21b80b025d2940effc39ace564a567a1b69a2389 @jamii jamii committed Jan 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 platform/mac/light
View
@@ -2,7 +2,7 @@
if [ -z "$LT_HOME" ]
then
- myDir="`dirname $(readlink -f $0)`"
+ myDir=$( cd $(dirname $0) ; pwd -P )
myAppDir="$myDir/../Applications"
for i in ~/Applications ~/Applications/LightTable $myDir $myDir/LightTable $myAppDir $myAppDir/LightTable /Applications /Applications/LightTable /Applications/Utilities /Applications/Utilities/LightTable; do
if [ -x "$i/LightTable.app" ]; then

0 comments on commit 21b80b0

Please sign in to comment.