Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets s/sed/${SED}/; s/xargs/${XARGS}/



details:   https://anonhg.NetBSD.org/src/rev/c3cb504a988b
branches:  trunk
changeset: 750232:c3cb504a988b
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Mon Dec 21 15:37:25 2009 +0000

description:
s/sed/${SED}/; s/xargs/${XARGS}/

diffstat:

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

diffs (44 lines):

diff -r ed528ff9739a -r c3cb504a988b distrib/sets/sets.subr
--- a/distrib/sets/sets.subr    Mon Dec 21 15:13:13 2009 +0000
+++ b/distrib/sets/sets.subr    Mon Dec 21 15:37:25 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sets.subr,v 1.117 2009/12/15 06:18:07 uebayasi Exp $
+#      $NetBSD: sets.subr,v 1.118 2009/12/21 15:37:25 uebayasi Exp $
 #
 
 #
@@ -55,6 +55,7 @@
 : ${TSORT:=tsort}
 : ${UNAME:=uname}
 : ${WC:=wc}
+: ${XARGS:=xargs}
 
 #
 # If printf is a shell builtin command, then we can
@@ -124,7 +125,7 @@
 
 IFS=$oIFS
 
-MKVARS="$( ${MAKE} -B -f ${rundir}/mkvars.mk mkvars | sed -e 's,=.*,,' | xargs )"
+MKVARS="$( ${MAKE} -B -f ${rundir}/mkvars.mk mkvars | ${SED} -e 's,=.*,,' | ${XARGS} )"
 
 #####
 
@@ -166,7 +167,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.117 2009/12/15 06:18:07 uebayasi Exp $
+#      # $NetBSD: sets.subr,v 1.118 2009/12/21 15:37:25 uebayasi Exp $
 #      .                       base-sys-root   [keyword[,...]]
 #      ./altroot               base-sys-root
 #      ./bin                   base-sys-root
@@ -471,7 +472,7 @@
                                echo >&2 "DEBUG: list_set_files: $l"
                        fi
                done
-       done | xargs ${SED} ${SUBST}
+       done | ${XARGS} ${SED} ${SUBST}
 }
 
 # arch_to_cpu mach



Home | Main Index | Thread Index | Old Index