summaryrefslogtreecommitdiff
path: root/openbabel.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-19 00:45:04 -0700
committerAndreas Maunz <andreas@maunz.de>2011-04-19 00:45:04 -0700
commit328ffada8289770693f554f341c5bb58e9efd69f (patch)
treee8e474a4b984409492f9c04ac88f99127e8b9343 /openbabel.sh
parent88295381838bb14cdb6ae9f61816f53d5e8ce489 (diff)
Fixed arch
Diffstat (limited to 'openbabel.sh')
-rw-r--r--[-rwxr-xr-x]openbabel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbabel.sh b/openbabel.sh
index 6cd4889..3257146 100755..100644
--- a/openbabel.sh
+++ b/openbabel.sh
@@ -91,7 +91,7 @@ if ! $OB_DONE ; then
cmd="ruby extconf.rb --with-openbabel-include=$OB_DEST/include/openbabel-2.0 --with-openbabel-lib=$OB_DEST/lib" && run_cmd "$cmd" "Code"
cmd="make" && run_cmd "$cmd" "Make"
cmd="cp openbabel.so $OB_DEST_BINDINGS" && run_cmd "$cmd" "Install"
- cmd="ln -s $OB_DEST_BINDINGS/openbabel.so $RUBY_DEST/lib/ruby/site_ruby/1.8/i686-linux/" && run_cmd "$cmd" "Link"
+ cmd="ln -s $OB_DEST_BINDINGS/openbabel.so $RUBY_DEST/lib/ruby/site_ruby/1.8/`uname -m`-linux/" && run_cmd "$cmd" "Link"
fi
cd "$DIR"