summaryrefslogtreecommitdiff
path: root/check/check-libs-private
diff options
context:
space:
mode:
Diffstat (limited to 'check/check-libs-private')
-rwxr-xr-xcheck/check-libs-private6
1 files changed, 3 insertions, 3 deletions
diff --git a/check/check-libs-private b/check/check-libs-private
index 4e83c85..961962b 100755
--- a/check/check-libs-private
+++ b/check/check-libs-private
@@ -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