Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2005 11:14:14 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Colin Percival <cperciva@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/conf newvers.sh
Message-ID:  <867jeiguft.fsf@xps.des.no>
In-Reply-To: <43059925.3090701@FreeBSD.org> (Doug Barton's message of "Fri, 19 Aug 2005 01:32:37 -0700")
References:  <200508190356.j7J3uj5D095435@repoman.freebsd.org> <43059925.3090701@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <dougb@FreeBSD.org> writes:
> 1. A "better" way (IMO) to write:
>
> if [ "X${BRANCH_OVERRIDE}" !=3D "X" ]; then
>
> is
>
> case "${BRANCH_OVERRIDE}" in
> '')	;;
> *)	BRANCH=3D${BRANCH_OVERRIDE} ;;
> esac

ITYM  [ -z "${BRANCH_OVERRIDE}" ]

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




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