Make script/server work on OS X again - -e is not a valid option to readlink on darwin
This commit is contained in:
parent
484f46d70f
commit
5dc36b14cc
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@
|
|||
#
|
||||
|
||||
# ensure right directory
|
||||
cd $(dirname $(readlink -e $0))/..
|
||||
realpath=$( ruby -e "puts File.expand_path(\"$0\")")
|
||||
cd $(dirname $realpath)/..
|
||||
|
||||
# Check if script_server.yml exists
|
||||
if [ ! -e 'config/script_server.yml' ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue