Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets minor sh KNF



details:   https://anonhg.NetBSD.org/src/rev/0d3b929bd2e8
branches:  trunk
changeset: 556727:0d3b929bd2e8
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Dec 26 06:05:27 2003 +0000

description:
minor sh KNF

diffstat:

 distrib/sets/sets.subr |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r c94879dac902 -r 0d3b929bd2e8 distrib/sets/sets.subr
--- a/distrib/sets/sets.subr    Fri Dec 26 06:00:58 2003 +0000
+++ b/distrib/sets/sets.subr    Fri Dec 26 06:05:27 2003 +0000
@@ -22,7 +22,8 @@
 #      stlib
 #      toolchain_missing
 #
-list_set_files () {
+list_set_files()
+{
        for setname; do
                list_set_lists $setname
        done | xargs cat | grep -v '^#'
@@ -44,7 +45,7 @@
 # In each file, a record consists of a path and a System Package name,
 # separated by whitespace. E.g.,
 #
-#      # $NetBSD: sets.subr,v 1.7 2003/12/11 09:46:26 dyoung Exp $
+#      # $NetBSD: sets.subr,v 1.8 2003/12/26 06:05:27 lukem Exp $
 #      .                       base-sys-root
 #      ./altroot               base-sys-root
 #      ./bin                   base-sys-root
@@ -71,7 +72,8 @@
 #      stlib
 #      toolchain_missing
 #
-list_set_lists () {
+list_set_lists()
+{
        setname=$1
 
        echo $setd/lists/$setname/mi
@@ -196,7 +198,8 @@
        fi
 }
 
-arch_to_cpu () {
+arch_to_cpu()
+{
 MACHINE_ARCH=${1} ${MAKE:-make} -f- all <<EOF
 .include <bsd.own.mk>
 all:



Home | Main Index | Thread Index | Old Index