Browse Source

Corrected architecture output from x86_64 to x64.

Signed-off-by: Rodolfo Silva <rodolfo@grupomarinho.com.br>
Rodolfo Silva 7 years ago
parent
commit
a49f62a6cd

+ 1 - 1
linux/installer/common/psw/createTarball.sh

@@ -48,7 +48,7 @@ rm -fr ${INSTALL_PATH}
 get_arch()
 {
     local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '/:/{print $6}')
-    test $a = 02 && echo 'x86_64' || echo 'x86'
+    test $a = 02 && echo 'x64' || echo 'x86'
 }
 
 ARCH=$(get_arch)

+ 1 - 1
linux/installer/common/sdk/createTarball.sh

@@ -48,7 +48,7 @@ rm -fr ${INSTALL_PATH}
 get_arch()
 {
     local a=$(readelf -h $BUILD_DIR/sgx_sign | sed -n '2p' | awk '/:/{print $6}')
-    test $a = 02 && echo 'x86_64' || echo 'x86'
+    test $a = 02 && echo 'x64' || echo 'x86'
 }
 
 ARCH=$(get_arch)