Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib portability fix.



details:   https://anonhg.NetBSD.org/src/rev/4207dbd978e5
branches:  trunk
changeset: 473981:4207dbd978e5
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 24 14:39:48 1999 +0000

description:
portability fix.

diffstat:

 lib/checkver |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a36128b0ca85 -r 4207dbd978e5 lib/checkver
--- a/lib/checkver      Thu Jun 24 14:18:10 1999 +0000
+++ b/lib/checkver      Thu Jun 24 14:39:48 1999 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: checkver,v 1.6 1999/06/10 00:32:23 simonb Exp $
+#      $NetBSD: checkver,v 1.7 1999/06/24 14:39:48 christos Exp $
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -100,7 +100,7 @@
 
 set -- $args
 
-while . ; do
+while [ ! -z "$1" ]; do
     case "$1" in
        -d) usedir=1 ; shift
            if [ $usefile -eq 1 -o $usesets -eq 1 ]; then



Home | Main Index | Thread Index | Old Index