From fc272ef9d7cc224d9558809b8d473882df48d2df Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 13 Aug 2016 00:31:56 +0200 Subject: Another step towards gcc-ABI detection when installing as root makeself extracts the file with owner-only access. When the installer itself runs as root, NORM_USER won't be able to call the abi-test tool. --- tools/linux_packaging/stage2.run.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in index e1fe3ffc1d..ae4e217a49 100755 --- a/tools/linux_packaging/stage2.run.in +++ b/tools/linux_packaging/stage2.run.in @@ -235,7 +235,7 @@ esac ################### if test -n "$MULTABI_BUNDLE"; then - if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --fail --gcc5 > /dev/null"; then + if ! "${PKG_PATH}/.gcc-glibmm-abi-check" --fail --gcc5; then ABI=-gcc4 else ABI=-gcc5 @@ -306,7 +306,7 @@ fi if test -z "$ABI"; then if %REPLACE_GCC5%; then # Ardour was compiled with gcc5, warn on gcc4 systems - if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --gcc5 > /dev/null"; then + if ! "${PKG_PATH}/.gcc-glibmm-abi-check" --gcc5; then echo "" echo "WARNING: GCC4/5 libstdc++ ABI Mismatch" echo "" @@ -321,7 +321,7 @@ if test -z "$ABI"; then fi else # Ardour was compiled with gcc4, warn on gcc5 systems - if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --gcc4 > /dev/null"; then + if ! "${PKG_PATH}/.gcc-glibmm-abi-check" --gcc4 ; then echo "" echo "WARNING: GCC4/5 libstdc++ ABI Mismatch" echo "" -- cgit v1.2.3