summaryrefslogtreecommitdiff
path: root/openbabel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openbabel.sh')
-rw-r--r--openbabel.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbabel.sh b/openbabel.sh
index 27fa394..a1d90a4 100644
--- a/openbabel.sh
+++ b/openbabel.sh
@@ -2,6 +2,7 @@
echo "Installing OpenBabel libraries"
. /etc/profile
+dir=`pwd`
cd /tmp
wget -O - "http://downloads.sourceforge.net/project/openbabel/openbabel/2.2.3/openbabel-2.2.3.tar.gz?use_mirror=kent" | tar zxv
cd openbabel-2.2.3/
@@ -11,3 +12,4 @@ cd scripts/ruby/
ruby extconf.rb --with-openbabel-include=/usr/local/include/openbabel-2.0
make install
ldconfig
+cd $dir