summaryrefslogtreecommitdiff
path: root/distrib/miniroot/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-26 02:10:01 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-26 02:10:01 +0000
commit23dfbfbc0a69d8e64d7f226fedb5ff98ae3d15f0 (patch)
treec3924d18e953fc107bbad6da04e5632f609afdbd /distrib/miniroot/Makefile
parentf65d46ce3ea0a929f4176f0c555af1a4f3ae756f (diff)
Fix some newfs usage.
Diffstat (limited to 'distrib/miniroot/Makefile')
-rw-r--r--distrib/miniroot/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/miniroot/Makefile b/distrib/miniroot/Makefile
index 9048c33e672..4ce687c4e1e 100644
--- a/distrib/miniroot/Makefile
+++ b/distrib/miniroot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.18 1997/09/21 11:45:56 deraadt Exp $
+# $OpenBSD: Makefile,v 1.19 1997/09/26 02:09:59 millert Exp $
# Revision is 2.1
REV= 21
@@ -44,8 +44,7 @@ all: ${CBIN} bsd
dd if=/dev/zero of=${REALIMAGE} count=${IMAGESIZE}
vnconfig -v -c ${VND} ${REALIMAGE}
disklabel -w ${RAWLABEL} ${VND} ${DISKTYPE}
- newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} ${DISKTYPE} || \
- ${NEWFS_WILL_FAIL}
+ newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} || ${NEWFS_WILL_FAIL}
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
REV=${REV} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \