Config.mk: fix CATFILE macro to work when file list is empty (Linux)

This commit is contained in:
Matias N 2020-11-25 22:45:47 -03:00 committed by Abdelatif Guettouche
parent b021375f2c
commit 36088e8d21

View File

@ -463,7 +463,7 @@ define CATFILE
endef
else
define CATFILE
$(Q) cat $(2) > $1
$(Q) if [ -z "$(strip $(2))" ]; then echo '' > $(1); else cat $(2) > $1; fi
endef
endif