summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile8
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}
OpenPOWER on IntegriCloud