check if the ${MACHINE} directory exists

This commit is contained in:
christos 2024-05-14 17:17:13 +00:00
parent c3d63bc897
commit 1a4228f94c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootcd,v 1.53 2024/05/14 14:58:05 christos Exp $
# $NetBSD: Makefile.bootcd,v 1.54 2024/05/14 17:17:13 christos Exp $
#
# Makefile snipped to create a CD/DVD ISO
#
@ -324,7 +324,7 @@ image:
.endif
if [ ! -s ${WORKSPEC} ]; then \
${MAKESPEC} -d cdrom . > ${WORKSPEC}; \
else \
elif [ -d cdrom/${MACHINE} ]; then \
${MAKESPEC} -d cdrom ${MACHINE} >> ${WORKSPEC}; \
fi
${TOOL_MAKEFS} -N ${NETBSDSRCDIR}/etc -t cd9660 -F ${WORKSPEC} -xx \