summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-02-09 19:41:33 +0100
committerChristoph Helma <helma@in-silico.ch>2011-02-09 19:41:33 +0100
commit7d4820d15c91c48936f6c7bb448b4e9d9836d01d (patch)
tree6b576da9d1a7760388a8e82dc4b01cfdb8f66c79
parentc7f614accb9f0666db1c3927f7082cb91f9afae6 (diff)
fixed directory chang in 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