diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-29 11:37:48 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-29 11:37:48 +0200 |
commit | 5f516e2297a014fbf59caee50a17b696d8c5ae06 (patch) | |
tree | 757c181d8738ecee76ade09d54f7c2d0a0ccf441 /openbabel.sh | |
parent | 3328abf1e969b280d5436909b54d2c4a78c6c80a (diff) |
Fixed path and check
Diffstat (limited to 'openbabel.sh')
-rwxr-xr-x | openbabel.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbabel.sh b/openbabel.sh index fcef99b..205c188 100755 --- a/openbabel.sh +++ b/openbabel.sh @@ -67,6 +67,7 @@ echo -n "Enter 's' to skip this step: " read RBB_SKIP if [ "$RBB_SKIP" != "s" ]; then + OB_DONE=false mkdir "$PREFIX_BINDINGS">/dev/null 2>&1 if [ ! -d "$PREFIX_BINDINGS" ]; then echo "Install directory '$PREFIX_BINDINGS' is not available! Aborting..." @@ -79,7 +80,7 @@ if [ "$RBB_SKIP" != "s" ]; then fi if ! $OB_DONE ; then - cd scripts/ruby/ + cd "/tmp/$OBVER/scripts/ruby/" ruby extconf.rb --with-openbabel-include="$PREFIX/include/openbabel-2.0" if make ; then cp openbabel.so $PREFIX_BINDINGS |