fix for repeated installtion of directories of resources

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38428 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-03-23 14:22:40 +00:00
parent cb3015869b
commit dc34dff86e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2015-03-23 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/resource-set.make: Fix bug which could cause a resource
dictionary to be installed inside an existing copy of the same
resource dictionary.
2015-03-04 Germán Arias <germanandre@gmx.es>
* Documentation/README.MinGW: Fix typos.

View file

@ -120,6 +120,7 @@ internal-resource_set-install_: \
ifneq ($(RESOURCE_FILES),)
$(ECHO_NOTHING)for f in $(RESOURCE_FILES); do \
if [ -f $(RESOURCE_FILES_DIR)/$$f -o -d $(RESOURCE_FILES_DIR)/$$f ]; then \
rm -rf $(RESOURCE_FILES_INSTALL_DIR)/$$f;\
cp -fr $(RESOURCE_FILES_DIR)/$$f \
$(RESOURCE_FILES_INSTALL_DIR)/$$f; \
else \