Browse Source

Save an useless use of grep while cooking bsd.scsi3

ok deraadt@
OPENBSD_3_7
miod 19 years ago
parent
commit
cd5b298d72
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/etc.sparc/Makefile.inc

+ 2
- 2
src/etc/etc.sparc/Makefile.inc View File

@ -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


Loading…
Cancel
Save