diff options
author | manojgudi | 2013-10-14 12:48:54 +0530 |
---|---|---|
committer | manojgudi | 2013-10-14 12:48:54 +0530 |
commit | 3eb54dce6db2c7d83ff593b5cd514708ed8231eb (patch) | |
tree | 7cf7d82743a9c34606178125e94d9bb64ac6e7a0 | |
parent | 0a89377d5493b105a211c4ffa712ea54a711e238 (diff) | |
download | sciscipy-1.0.0-3eb54dce6db2c7d83ff593b5cd514708ed8231eb.tar.gz sciscipy-1.0.0-3eb54dce6db2c7d83ff593b5cd514708ed8231eb.tar.bz2 sciscipy-1.0.0-3eb54dce6db2c7d83ff593b5cd514708ed8231eb.zip |
replaced i386 with uname -i
-rw-r--r-- | install | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -5,6 +5,8 @@ red=$(tput setaf 1) yel=$(tput setaf 3) end=$(tput sgr 0) +# Define Hardware platform +platform=`uname -i` echo "$bold $red Installing Dependencies $end" @@ -25,9 +27,9 @@ echo "$bold $red Setting up variables $end" s2pconf=/etc/ld.so.conf.d/sciscipy.conf echo "/usr/lib/scilab" >> $s2pconf - echo "/usr/lib/jvm/default-java/jre/lib/i386/native_threads" >> $s2pconf - echo "/usr/lib/jvm/default-java/jre/lib/i386/" >> $s2pconf - echo "/usr/lib/jvm-/efault-java/jre/lib/i386/server" >> $s2pconf + echo "/usr/lib/jvm/default-java/jre/lib/$platform/native_threads" >> $s2pconf + echo "/usr/lib/jvm/default-java/jre/lib/$platform/" >> $s2pconf + echo "/usr/lib/jvm-/efault-java/jre/lib/$platform/server" >> $s2pconf env=/etc/environment echo 'PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' >> env |