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:
parent
e60f6da1d6
commit
f1bb5f6a87
@ -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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user