summaryrefslogtreecommitdiff
path: root/opentox-ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-31 12:42:16 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-31 12:42:16 +0200
commit59f6d70df510eb5e009f71a15ccbf20053ec7975 (patch)
tree432593286a9307daf895973d0b06121b88712647 /opentox-ruby.sh
parent312d93bcc322fa5aca38f38cd266569aaf18b621 (diff)
all
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-xopentox-ruby.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh
index 00bf8f1..0939635 100755
--- a/opentox-ruby.sh
+++ b/opentox-ruby.sh
@@ -4,6 +4,9 @@
# Author: Christoph Helma, Andreas Maunz.
#
+source ./config.sh
+source ./utils.sh
+
if [ "$(id -u)" = "0" ]; then
echo "This script must be run as non-root." 1>&2
exit 1
@@ -30,8 +33,6 @@ fi
# Pkg
-source ./config.sh
-source ./utils.sh
LOG="/tmp/`basename $0`-log.txt"
echo "Opentox-ruby ('$LOG'):"