aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2003-01-16 16:46:02 +0000
committerScott Long <scottl@FreeBSD.org>2003-01-16 16:46:02 +0000
commitaed3a608332e119c40260aa89ed02fb35a632cbe (patch)
tree1565c124fa99256afae0c6f71bbb711968aff181
parent79d45b722ed1647fec35b613eb8928462b581ec3 (diff)
downloadsrc-aed3a608332e119c40260aa89ed02fb35a632cbe.tar.gz
src-aed3a608332e119c40260aa89ed02fb35a632cbe.zip
Fix 'make release' from erroring out if this is an arch without driver
floppies. Submitted by: nyan Reviewed bby: jhb
Notes
Notes: svn path=/releng/5.0/; revision=109385
-rw-r--r--release/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 86c284940761..6aa83df8ab06 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1068,8 +1068,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