diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-29 22:09:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-29 22:09:16 +0000 |
commit | b5bb7ac498f4a1b68bc1e27d4729519fff179230 (patch) | |
tree | fcac4a96ab7ba4ff196db3c88951d0a9b1839017 | |
parent | cefdf5e62eae54a4c575c27947ca681a438ade33 (diff) |
Save an useless use of grep while cooking bsd.scsi3
ok deraadt@
-rw-r--r-- | etc/etc.sparc/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.sparc/Makefile.inc b/etc/etc.sparc/Makefile.inc index 5d56402cce2..6bf3926e6af 100644 --- a/etc/etc.sparc/Makefile.inc +++ b/etc/etc.sparc/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.11 2002/05/13 07:22:43 espie Exp $ +# $OpenBSD: Makefile.inc,v 1.12 2004/11/29 22:09:15 miod Exp $ # etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets .ifdef DESTDIR @@ -6,7 +6,7 @@ snap_md: bsd bootblocks distrib cp ${.CURDIR}/../sys/arch/sparc/compile/GENERIC/bsd \ ${DESTDIR}/snapshot/bsd s=`printf "find sd\nexit" | config -e ${DESTDIR}/snapshot/bsd | \ - grep "ukc> " | awk '{print $$2}'`; \ + awk '/ukc/ {print $$2}'`; \ printf "add sd0\n%s\n%s\nchange %s\ny\n3\n\n\nquit\n" $$s $$s $$s | \ config -e -o ${DESTDIR}/snapshot/bsd.scsi3 ${DESTDIR}/snapshot/bsd |