Commit 5dc36b14 authored by Sarah Mei's avatar Sarah Mei

Make script/server work on OS X again - -e is not a valid option to readlink on darwin

parent 484f46d7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment