reverted change for chroot architecture detection, it does not work (exclamation... 70/17370/1
Francois Granade [Thu, 22 Oct 2015 09:46:49 +0000 (11:46 +0200)]
Change-Id: If8d9c2cc4b747ac8bd07829ebf73bcfcd582b83b

scilab/bin/scilab

index 4446178..277d45e 100755 (executable)
@@ -160,15 +160,7 @@ detect_os() {
         OS=$(uname -s) # Retrieve the Operating System
     fi
     if test "${MODEL}" = ""; then
-        if ! long_size=$(getconf LONG_BIT); then
-            if test $long_size = "32"; then
-                MODEL=i386
-            else
-                MODEL=x86_64
-            fi
-        else
-            MODEL=$(uname -m) # Retrieve the model
-        fi
+        MODEL=$(uname -m) # Retrieve the model
     fi
 
     if test $SCIVERBOSE -ne 0; then