summaryrefslogtreecommitdiff
path: root/openbabel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openbabel.sh')
-rwxr-xr-xopenbabel.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/openbabel.sh b/openbabel.sh
index b30d916..bd607c6 100755
--- a/openbabel.sh
+++ b/openbabel.sh
@@ -5,6 +5,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
@@ -18,12 +21,10 @@ if [ ! -e "$WGET" ]; then
fi
# Pkg
-source ./config.sh
-source ./utils.sh
LOG="/tmp/`basename $0`-log.txt"
-echo "Openbabel ('$OB_DEST', '$LOG')"
-
+echo
+echo "Openbabel ('$OB_DEST', '$LOG'):"
DIR="`pwd`"