From 145dba778d2e5fbe06a08079f90b748b8f24a9fb Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 22 Aug 2005 10:41:08 +0000 Subject: Add solaris workaround for tests /bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX shell on Solaris. --- check/check-define-variable | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'check/check-define-variable') 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 -- cgit v1.2.1