[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reserved lock and other patches
From: |
Derek R. Price |
Subject: |
Re: reserved lock and other patches |
Date: |
Fri, 23 Mar 2001 13:03:05 -0500 |
"Derek R. Price" wrote:
> As far as hints are concerned, the basics are pretty simple:
[ . . . ]
> * $remote = 'yes' or 'no', depending on whether the script is running
> with
> a remote CVSROOT
Of course, since I was thinking about it, I just went through and changed this
to:
remote=:
and
remote=false
for yes/true and no/false, respectively. I'm about to do the same for $keep.
For the interested, this is because often, ':', and less often, 'false', are
shell
builtins. This makes constructs like:
if $remote; then
faster and more succinct than:
if test $remote = yes; then
This is portable. Autoconf does it.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net CollabNet ( http://collab.net )
--
Bugs come in through open Windows.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: reserved lock and other patches,
Derek R. Price <=