summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-05-03 14:21:48 +0200
committermguetlein <martin.guetlein@gmail.com>2011-05-03 14:21:48 +0200
commit5c4240c295466fe56dea73b26710a9798c8570e6 (patch)
treeb0f816bf8fc21635f494243fc33c69485a53222d /opentox-ruby.sh
parent8e98ba83791c01b826f4cd5f36edaf6a6d0b8e90 (diff)
replace nil with empty-string when aa is not used in yaml-config
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-xopentox-ruby.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 607cf18..d101600 100755
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -8,7 +8,7 @@
DIR="`pwd`"
if [ "$(id -u)" = "0" ]; then
- echo "This script must be run as non-root." 1>&2
+ echo "This script must be run as non-root." 1>&264
exit 1
fi
@@ -61,7 +61,7 @@ fi
if [ "$OT_INSTALL" = "server" ]; then
aa="https:\/\/opensso.in-silico.ch"
else
- aa=nil
+ aa=""
fi
mkdir -p "$HOME/.opentox/config" >>$LOG 2>&1