sh: Allow running 'prove' from tools/regression/bin/sh again

without needing to set special environment variables, testing the 'sh' from
PATH.
This commit is contained in:
Jilles Tjoelker 2010-10-15 20:01:35 +00:00
parent e60f6da1d6
commit f1bb5f6a87

View File

@ -1,11 +1,7 @@
#!/bin/sh
# $FreeBSD$
if [ -z "${SH}" ]; then
echo '${SH} is not set, please correct and re-run.'
exit 1
fi
export SH=${SH}
export SH="${SH:-sh}"
cd `dirname $0`