From owner-cvs-src@FreeBSD.ORG Fri Aug 19 09:14:20 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C87F316A41F; Fri, 19 Aug 2005 09:14:20 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 204F443D46; Fri, 19 Aug 2005 09:14:20 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 91A066147; Fri, 19 Aug 2005 11:14:02 +0200 (CEST) Received: from xps.des.no (des.no [80.203.228.37]) by tim.des.no (Postfix) with ESMTP id 7DDD460F7; Fri, 19 Aug 2005 11:14:02 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 0FE6233D44; Fri, 19 Aug 2005 11:14:14 +0200 (CEST) To: Doug Barton References: <200508190356.j7J3uj5D095435@repoman.freebsd.org> <43059925.3090701@FreeBSD.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Fri, 19 Aug 2005 11:14:14 +0200 In-Reply-To: <43059925.3090701@FreeBSD.org> (Doug Barton's message of "Fri, 19 Aug 2005 01:32:37 -0700") Message-ID: <867jeiguft.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Tests: ALL_TRUSTED,AWL,BAYES_00,UPPERCASE_25_50 X-Spam-Learn: ham X-Spam-Score: -5.2/5.0 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on tim.des.no Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Colin Percival Subject: Re: cvs commit: src/sys/conf newvers.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 09:14:21 -0000 Doug Barton 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