diff options
author | nyan <nyan@FreeBSD.org> | 2002-09-29 13:47:01 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2002-09-29 13:47:01 +0000 |
commit | 685a36473bdbfd06310de01a85026151c4dda95e (patch) | |
tree | d54d9e9ef9041f1f29ce2485fa3b9ae35c546ca1 | |
parent | 61d4be4f4d0a6b2f0bbec889950c1a80991938ce (diff) | |
download | FreeBSD-src-685a36473bdbfd06310de01a85026151c4dda95e.zip FreeBSD-src-685a36473bdbfd06310de01a85026151c4dda95e.tar.gz |
Don't make an error even if drivers.conf does not exist.
Tested on: snapshots.pc98.jp.FreeBSD.org
-rw-r--r-- | release/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile index 392e5e6..832ba2e 100644 --- a/release/Makefile +++ b/release/Makefile @@ -636,9 +636,11 @@ release.9: ${.CURDIR}/${TARGET}/drivers.conf \ ${RD}/trees/base/boot/kernel ${RD}/driversfd -@rmdir ${RD}/driversfd - [ -d ${RD}/driversfd ] && sh -e ${.CURDIR}/scripts/doFS.sh \ - ${RD}/floppies/drivers.flp ${RD} ${MNT} ${BOOTSIZE} \ - ${RD}/driversfd ${BOOTINODE} ${BOOTLABEL} + if [ -d ${RD}/driversfd ]; then \ + sh -e ${.CURDIR}/scripts/doFS.sh \ + ${RD}/floppies/drivers.flp ${RD} ${MNT} ${BOOTSIZE} \ + ${RD}/driversfd ${BOOTINODE} ${BOOTLABEL}; \ + fi .endif sh -e ${.CURDIR}/scripts/doFS.sh -s mfsroot ${RD} ${MNT} \ ${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL} |