Bug 776985 - libs-xpcshell-tests should not attempt to install backup files that end in ~, r=ted

This commit is contained in:
Benjamin Smedberg 2012-07-25 10:26:41 -04:00
parent b786b1a25d
commit 9151b94414

View File

@ -15,7 +15,7 @@ $(error Must define relativesrcdir when defining XPCSHELL_TESTS.)
endif
define _INSTALL_TESTS
$(call install_cmd, $(wildcard $(srcdir)/$(dir)/*) $(testxpcobjdir)/$(relativesrcdir)/$(dir))
$(call install_cmd, $(filter-out %~,$(wildcard $(srcdir)/$(dir)/*)) $(testxpcobjdir)/$(relativesrcdir)/$(dir))
endef # do not remove the blank line!