403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/math/scilab/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/scilab/files/patch-bin_scilab
--- bin/scilab.orig	2020-02-25 10:59:42.000000000 +0100
+++ bin/scilab	2021-01-25 02:36:29.251977000 +0100
@@ -184,7 +187,7 @@
         OS=$(uname -s) # Retrieve the Operating System
     fi
     if test "${MODEL}" = ""; then
-        MODEL=$(uname -m) # Retrieve the model
+        MODEL=$(uname -p) # Retrieve the model
     fi
 
     if test $SCIVERBOSE -ne 0; then
@@ -622,7 +625,20 @@
                     set_macosx_java_vm
                     ;;
                 *FreeBSD*)
-                    proc=$MODEL
+                    case $MODEL in
+                        "powerpc")
+                            proc="ppc"
+                            ;;
+                        "powerpc64")
+                            proc="ppc64"
+                            ;;
+                        "powerpc64le")
+                            proc="ppc64le"
+                            ;;
+			*)
+                    	    proc=$MODEL
+			    ;;
+		    esac
                     ;;
                 *)
                     echo "Could not find the Java configuration for the OS <${OS}>. Please contact us or submit a bug report with your detailed configuration http://bugzilla.scilab.org/"

Youez - 2016 - github.com/yon3zu
LinuXploit