summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-04-28 22:28:14 +0000
committerderaadt <deraadt@openbsd.org>2005-04-28 22:28:14 +0000
commit5e6df09ce8fbdc63ad38f7215c66752dab0fe682 (patch)
tree78781123227882748460506d9952612ab7761a2c
parentif running in -e mode, and stdin is not a tty, then re-print the commands (diff)
downloadwireguard-openbsd-5e6df09ce8fbdc63ad38f7215c66752dab0fe682.tar.xz
wireguard-openbsd-5e6df09ce8fbdc63ad38f7215c66752dab0fe682.zip
handle new config -e non-tty input case
-rw-r--r--etc/etc.sparc/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.sparc/Makefile.inc b/etc/etc.sparc/Makefile.inc
index 6bf3926e6af..ba829e0c011 100644
--- a/etc/etc.sparc/Makefile.inc
+++ b/etc/etc.sparc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.12 2004/11/29 22:09:15 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2005/04/28 22:28:14 deraadt 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 | \
- awk '/ukc/ {print $$2}'`; \
+ grep scsibus | awk '{print $$1}'`; \
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