# HG changeset patch # User prr # Date 1520877202 25200 # Node ID 273c535ba7cc1c269c7882a75b02b9b3c7c15b5f # Parent 81cd35f715638ab417195a1caea22ebb13ad96aa# Parent e991d0be4cc9fb3a816a1a1a4d627dcab59e0c6e Merge diff -r 81cd35f71563 -r 273c535ba7cc make/common/MakeBase.gmk --- a/make/common/MakeBase.gmk Mon Mar 12 09:37:49 2018 -0700 +++ b/make/common/MakeBase.gmk Mon Mar 12 10:53:22 2018 -0700 @@ -518,12 +518,14 @@ define install-file $(call MakeTargetDir) $(RM) '$(call DecodeSpace, $@)' - if [ '$(call DecodeSpace, $(dir $@))' != \ + if [ '$(call DecodeSpace, $(dir $(call EncodeSpace, $@)))' != \ '$(call DecodeSpace, $(dir $(call EncodeSpace, $<)))' ]; then \ - $(CP) -f -r -P '$(call DecodeSpace, $<)' '$(call DecodeSpace, $(@D))'; \ - if [ '$(call DecodeSpace, $(@F))' != \ + $(CP) -f -r -P '$(call DecodeSpace, $<)' \ + '$(call DecodeSpace, $(dir $(call EncodeSpace, $@)))'; \ + if [ '$(call DecodeSpace, $(notdir $(call EncodeSpace, $@)))' != \ '$(call DecodeSpace, $(notdir $(call EncodeSpace, $(<))))' ]; then \ - $(MV) '$(call DecodeSpace, $(@D)/$(