diff options
author | Tollef Fog Heen <tfheen@err.no> | 2005-08-22 10:41:08 +0000 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2005-08-22 10:41:08 +0000 |
commit | 145dba778d2e5fbe06a08079f90b748b8f24a9fb (patch) | |
tree | c8c8412d511090903781523e717a73ab19900e0c /check/check-define-variable | |
parent | 924949891f22e51e48f14d619bfd30a73f84102d (diff) | |
download | pkg-config-145dba778d2e5fbe06a08079f90b748b8f24a9fb.tar.gz |
Add solaris workaround for tests
/bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX
shell on Solaris.
Diffstat (limited to 'check/check-define-variable')
-rwxr-xr-x | check/check-define-variable | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/check/check-define-variable b/check/check-define-variable index e0e0880..dd7f323 100755 --- a/check/check-define-variable +++ b/check/check-define-variable @@ -1,5 +1,10 @@ #! /bin/sh +# Do the Solaris Dance: +if [ ! -d ~root ] ; then + exec /usr/xpg4/bin/sh $0 "$@" +fi + set -e . ${srcdir}/common |