Browse Source

Use `uname -m` instead of `arch` in installer.

Vytautas Mickus 6 years ago
parent
commit
6e0580d110
1 changed files with 1 additions and 1 deletions
  1. 1 1
      linux/installer/bin/install-sgx-psw.bin.tmpl

+ 1 - 1
linux/installer/bin/install-sgx-psw.bin.tmpl

@@ -53,7 +53,7 @@ fi
 
 
 PKG_ARCH=@arch@
-ARCH=$(arch)
+ARCH=$(uname -m)
 
 if [ $ARCH == "i386" ] || [ $ARCH == "i586" ] || [ $ARCH == "i686" ]; then
     ARCH=x86