Project

General

Profile

« Previous | Next » 

Revision 4605

lib/mappings.Makefile: $(catTerms): Fixed bug where only existing $+ files (using $(+w)) could be included in the list (both to check and to use), because otherwise cat would raise an error or try to read stdin

View differences:

mappings.Makefile
14 14
	@echo $(emph)"$(missingMappingsMsg)"$(endEmph)
15 15
	@$(missingMappingsCmd)
16 16

  
17
catTerms = $(if $+,cat $+|env -i sort -u >$@; $(bin)/autoremove $@)
17
catTerms = $(if $(+w),cat $(+w)|env -i sort -u >$@; $(bin)/autoremove $@)
18 18

  
19 19
unmapped_terms.csv: $(termsSubdirs:%=%/unmapped_terms.csv)
20 20
	$(catTerms)

Also available in: Unified diff