check if the ${MACHINE} directory exists
This commit is contained in:
parent
c3d63bc897
commit
1a4228f94c
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue