Corrected architecture output from x86_64 to x64.

Signed-off-by: Rodolfo Silva <rodolfo@grupomarinho.com.br>
This commit is contained in:
Rodolfo Silva 2016-11-09 22:26:30 -03:00
parent ca3fee442e
commit a49f62a6cd
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)