Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 14:29:31 -0700
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc rc
Message-ID:  <20011001142931.A97773@dragon.nuxi.com>
In-Reply-To: <20011001092717.A57657@alaska.cert.siemens.de>; from udo.schweigert@siemens.com on Mon, Oct 01, 2001 at 09:27:17AM %2B0200
References:  <200109250155.f8P1tMR19221@freefall.freebsd.org> <20010930160801.A30603@alaska.cert.siemens.de> <20010930150859.B85562@dragon.nuxi.com> <20011001092717.A57657@alaska.cert.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 01, 2001 at 09:27:17AM +0200, Udo Schweigert wrote:
> -				slist="${slist}${script_name_sep}${script}"
> +				if [ "${script}" != "${dir}/*.sh" ]; then
> +				    slist="${slist}${script_name_sep}${script}"
> +				fi

I don't see what is wrong with simply testing below for -f or -l.

> -		elif [ -f "${script}" ]; then
> -			echo "Skipping ${script}, not executable"
> +		else
> +			echo -n " (skipping ${script##*/})"

This is wrong as it removes the _explanation_ of why it was skipped.
The _expilation_ is key to what I am trying to achieve.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011001142931.A97773>