From owner-svn-src-all@FreeBSD.ORG Wed Oct 20 00:24:30 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B8DD1065670; Wed, 20 Oct 2010 00:24:30 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 88F988FC14; Wed, 20 Oct 2010 00:24:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9K0OU7l031872; Wed, 20 Oct 2010 00:24:30 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9K0OUp5031870; Wed, 20 Oct 2010 00:24:30 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201010200024.o9K0OUp5031870@svn.freebsd.org> From: "David E. O'Brien" Date: Wed, 20 Oct 2010 00:24:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r214090 - stable/8/tools/regression/bin/sh X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 00:24:30 -0000 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`