Skip to content

Commit 403fa0f

Browse files
committed
Merge pull request #2937 from ajaxorg/fix-cloud9sh
Fix cloud9.sh
2 parents 4bfa8f8 + 4d458dc commit 403fa0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/cloud9.sh

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

3-
CMD_DIR="$( cd "$( dirname $( readlink "$0" ) )" && pwd )"
4-
cd "$CMD_DIR/.."
3+
ME=`readlink "$0" || echo "$0"`
4+
cd `dirname "$ME"`/..
55

66
make worker
77

0 commit comments

Comments
 (0)