mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-26 07:20:03 +01:00
Add solaris workaround for tests
/bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX shell on Solaris.
This commit is contained in:
parent
924949891f
commit
145dba778d
5 changed files with 25 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue