Date: Wed, 20 Oct 2010 00:24:30 +0000 (UTC) From: "David E. O'Brien" <obrien@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r214090 - stable/8/tools/regression/bin/sh Message-ID: <201010200024.o9K0OUp5031870@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: obrien Date: Wed Oct 20 00:24:30 2010 New Revision: 214090 URL: http://svn.freebsd.org/changeset/base/214090 Log: MFC: r213903: default to 'sh' from PATH if 'SH' env is not set. Modified: stable/8/tools/regression/bin/sh/regress.t Directory Properties: stable/8/tools/regression/bin/sh/ (props changed) Modified: stable/8/tools/regression/bin/sh/regress.t ============================================================================== --- stable/8/tools/regression/bin/sh/regress.t Wed Oct 20 00:19:25 2010 (r214089) +++ stable/8/tools/regression/bin/sh/regress.t Wed Oct 20 00:24:30 2010 (r214090) @@ -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`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010200024.o9K0OUp5031870>