Module Name:    src
Committed By:   christos
Date:           Tue May 14 17:17:13 UTC 2024

Modified Files:
        src/distrib/common: Makefile.bootcd

Log Message:
check if the ${MACHINE} directory exists


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/distrib/common/Makefile.bootcd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/common/Makefile.bootcd
diff -u src/distrib/common/Makefile.bootcd:1.53 src/distrib/common/Makefile.bootcd:1.54
--- src/distrib/common/Makefile.bootcd:1.53	Tue May 14 10:58:05 2024
+++ src/distrib/common/Makefile.bootcd	Tue May 14 13:17:13 2024
@@ -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 \

Reply via email to