Date: Tue, 02 Oct 2001 00:11:59 -0400 (EDT) From: Mike Heffner <mheffner@vt.edu> To: "David E. O'Brien" <obrien@FreeBSD.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/etc rc Message-ID: <XFMail.20011002001159.mheffner@vt.edu> In-Reply-To: <200110012130.f91LUR934873@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format --_=XFMail.1.5.1.FreeBSD:20011002001159:22230=_ Content-Type: text/plain; charset=us-ascii On 01-Oct-2001 David E. O'Brien wrote: | obrien 2001/10/01 14:30:27 PDT | | Modified files: | etc rc | Log: | Tweak the Skipping ${script} logic to also handle symlinks. | Also echo with "-n". | | Revision Changes Path | 1.280 +3 -3 src/etc/rc This is broken, is this what you meant? Index: rc =================================================================== RCS file: /home/ncvs/src/etc/rc,v retrieving revision 1.281 diff -u -r1.281 rc --- rc 2001/10/01 22:52:32 1.281 +++ rc 2001/10/02 04:14:01 @@ -806,7 +806,7 @@ (set -T trap 'exit 1' 2 ${script} start) - elif [ -f "${script}" -or -l "${script}" ]; then + elif [ -f "${script}" -o -L "${script}" ]; then echo -n " (skipping ${script##*/}, not executable)" fi done Mike -- Mike Heffner <mheffner@[acm.]vt.edu> Blacksburg, VA <mikeh@FreeBSD.org> --_=XFMail.1.5.1.FreeBSD:20011002001159:22230=_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7uT6PFokZQs3sv5kRAjNnAKCiQURbF6yFXR/RSfE+Fd4w5jmxmwCfRtk2 M8J7+JyqYu6Ty3URzgxgYb8= =8XlL -----END PGP SIGNATURE----- --_=XFMail.1.5.1.FreeBSD:20011002001159:22230=_-- End of MIME message 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?XFMail.20011002001159.mheffner>