From 9037e719d048c26619925d0d0944273f87b4b595 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 5 Oct 2015 17:12:13 +0200 Subject: [PATCH] fix case where NORM_USER (su) changes dirs. --- tools/linux_packaging/stage2.run.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in index 6db11033d5..4b6cb728af 100755 --- a/tools/linux_packaging/stage2.run.in +++ b/tools/linux_packaging/stage2.run.in @@ -235,7 +235,7 @@ esac if %REPLACE_GCC5%; then # Ardour was compiled with gcc5, warn on gcc4 systems - if ! ${NORM_USER} "./.gcc-glibmm-abi-check --gcc5 > /dev/null"; then + if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --gcc5 > /dev/null"; then echo "" echo "WARNING: GCC4/5 libstdc++ ABI Mismatch" echo "" @@ -250,7 +250,7 @@ if %REPLACE_GCC5%; then fi else # Ardour was compiled with gcc4, warn on gcc5 systems - if ! ${NORM_USER} "./.gcc-glibmm-abi-check --gcc4 > /dev/null"; then + if ! ${NORM_USER} "${PKG_PATH}/.gcc-glibmm-abi-check --gcc4 > /dev/null"; then echo "" echo "WARNING: GCC4/5 libstdc++ ABI Mismatch" echo ""