summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-01-16 16:51:52 +0000
committerscottl <scottl@FreeBSD.org>2003-01-16 16:51:52 +0000
commitd5b01fb0c0ce6748efcec2a825e5055fe5994fbd (patch)
treea2d5fa9372160abe31e1aeed5e259ce4de852d5c /release
parent3262ba2f01ee903f457bb668899d079dc79fa668 (diff)
downloadFreeBSD-src-d5b01fb0c0ce6748efcec2a825e5055fe5994fbd.zip
FreeBSD-src-d5b01fb0c0ce6748efcec2a825e5055fe5994fbd.tar.gz
Fix 'make release' from erroring out if this is an arch without driver
floppies. Submitted by: nyan Reviewed by: jhb
Diffstat (limited to 'release')
-rw-r--r--release/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index f136d81..73fad42 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1095,8 +1095,9 @@ doMFSKERN:
.if ${TARGET_ARCH} != "ia64"
@echo "set hint.acpi.0.disabled=1" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
.endif
- @[ -r ${RD}/floppies/drivers.flp ] && \
- echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
+ @if [ -r ${RD}/floppies/drivers.flp ]; then \
+ echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc; \
+ fi
@echo "set module_path=\"/modules;/dist\"" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
OpenPOWER on IntegriCloud