diff --git a/linux/installer/common/psw/createTarball.sh b/linux/installer/common/psw/createTarball.sh index 5684b5d922..a78f83c4dd 100755 --- a/linux/installer/common/psw/createTarball.sh +++ b/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) diff --git a/linux/installer/common/sdk/createTarball.sh b/linux/installer/common/sdk/createTarball.sh index 88c22ea340..9d3e12ebfb 100755 --- a/linux/installer/common/sdk/createTarball.sh +++ b/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)