Skip to content

Commit 2c2b453

Browse files
committed
more generic way to determine path, works in MacOS
1 parent 2ab7f2c commit 2c2b453

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/cloud9.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22

3-
CMD="$(readlink -e $0)"
4-
CMD_DIR=`dirname "$CMD"`
3+
CMD_DIR="$( cd "$( dirname "$0" )" && pwd )"
54
cd "$CMD_DIR/.."
65

76
make update

0 commit comments

Comments
 (0)