diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-31 12:42:16 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-31 12:42:16 +0200 |
commit | 59f6d70df510eb5e009f71a15ccbf20053ec7975 (patch) | |
tree | 432593286a9307daf895973d0b06121b88712647 /openbabel.sh | |
parent | 312d93bcc322fa5aca38f38cd266569aaf18b621 (diff) |
all
Diffstat (limited to 'openbabel.sh')
-rwxr-xr-x | openbabel.sh | 9 |
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`" |