Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets Some systems/shells have difficulty if the clos...



details:   https://anonhg.NetBSD.org/src/rev/796c20fc285d
branches:  trunk
changeset: 538050:796c20fc285d
user:      briggs <briggs%NetBSD.org@localhost>
date:      Thu Oct 10 20:46:39 2002 +0000

description:
Some systems/shells have difficulty if the closing ] of a test does not have
preceding whitespace.  Ensure that there is whitespace.

diffstat:

 distrib/sets/makeflist |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 049aae1e080a -r 796c20fc285d distrib/sets/makeflist
--- a/distrib/sets/makeflist    Thu Oct 10 18:52:42 2002 +0000
+++ b/distrib/sets/makeflist    Thu Oct 10 20:46:39 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: makeflist,v 1.53 2002/10/09 01:22:37 thorpej Exp $
+# $NetBSD: makeflist,v 1.54 2002/10/10 20:46:39 briggs Exp $
 #
 # Print out the files in some or all lists.
 # Usage: makeflist [-b] [-x] [-a arch] [-m machine] [-s setsdir] [setname ...]
@@ -167,8 +167,8 @@
                elif [ -f $setd/lists/$setname/rescue.ad.${machine_cpu} ]; then
                        cat $setd/lists/$setname/rescue.ad.${machine_cpu}
                fi
-               if [ "$shlib" != "no" -a \
-                    -f $setd/lists/$setname/rescue.ad.${machine_cpu}.shl]; then
+               if [ "$shlib" != "no" -a -f \
+                    $setd/lists/$setname/rescue.ad.${machine_cpu}.shl ]; then
                        cat $setd/lists/$setname/rescue.ad.${machine_cpu}.shl
                fi
        fi



Home | Main Index | Thread Index | Old Index