diff options
Diffstat (limited to 'check/check-cflags')
-rwxr-xr-x | check/check-cflags | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/check/check-cflags b/check/check-cflags index d561b92..9d517c8 100755 --- a/check/check-cflags +++ b/check/check-cflags @@ -1,8 +1,8 @@ #! /bin/sh -# Do the Solaris Dance: -if [ ! -d ~root ] ; then - exec /usr/xpg4/bin/sh $0 "$@" +# Make sure we're POSIX +if [ "$PKG_CONFIG_SHELL_IS_POSIX" != "1" ]; then + PKG_CONFIG_SHELL_IS_POSIX=1 PATH=`getconf PATH` exec sh $0 "$@" fi set -e |