From 4afebc1f1b372836dcb41a5a721d1d45e07c3a7e Mon Sep 17 00:00:00 2001 From: Douglas Thain Date: Fri, 15 Dec 2023 13:06:07 -0500 Subject: [PATCH] conditional --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dbb1fc9c..3fb1eee7 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ image: kernel/basekernel.img $(USER_PROGRAMS) mkdir image image/boot image/bin image/data cp kernel/basekernel.img image/boot cp $(USER_PROGRAMS) image/bin - [ -f ${WORDS} ] && head -2000 ${WORDS} > image/data/words + if [ -f ${WORDS} ]; then head -2000 ${WORDS} > image/data/words; fi basekernel.iso: image ${ISOGEN} -input-charset utf-8 -iso-level 2 -J -R -o $@ -b boot/basekernel.img image