mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
PR #7637 followup: no need to print the set of removed files twice.
This commit is contained in:
parent
b082302727
commit
b6a0138f97
@ -249,7 +249,7 @@ endef
|
||||
|
||||
# Same interface as above, but deletes rather than just listing the files.
|
||||
define REMOVE_ALL_OLD_GLOB_MATCHES_EXCEPT
|
||||
$(Q)MATCHES="$(filter-out %$(3),$(wildcard $(1)/$(2)))"; if [ -n "$$MATCHES" ] ; then echo "Warning: removing previous" \'$(2)\' "libraries:" $$MATCHES; rm -v $$MATCHES ; fi
|
||||
$(Q)MATCHES="$(filter-out %$(3),$(wildcard $(1)/$(2)))"; if [ -n "$$MATCHES" ] ; then echo "Warning: removing previous" \'$(2)\' "libraries:" $$MATCHES; rm $$MATCHES ; fi
|
||||
endef
|
||||
|
||||
# We use a different strategy for LIST_ALL_OLD_GLOB_MATCHES_EXCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user