diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f6a166d545..f0291d30c6 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-16 19:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/config/instsh.cf + ! fixed install dirs when POSIX shell is used and path contains + "\" instead of '/' + 2009-07-16 18:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + config/dj-mkdir.exe + config/dj-cp.exe diff --git a/harbour/config/instsh.cf b/harbour/config/instsh.cf index adbc6c459e..a0ab680abe 100644 --- a/harbour/config/instsh.cf +++ b/harbour/config/instsh.cf @@ -26,18 +26,18 @@ else ifeq ($(HB_SHELL),bash) INSTALL_RULE =\ - $(MDP) $(INSTALL_DIR); \ - if [ ! -d $(INSTALL_DIR) ]; \ + $(MDP) $(subst \,/,$(INSTALL_DIR)); \ + if [ ! -d $(subst \,/,$(INSTALL_DIR)) ]; \ then \ - echo "! Can't install, path not found: '$(INSTALL_DIR)'" 1>&2; \ + echo "! Can't install, path not found: '$(subst \,/,$(INSTALL_DIR))'" 1>&2; \ false; \ else \ for i in $(INSTALL_FILES); \ do \ if [ -r $$i ]; \ then \ - echo "! Installing $$i on $(INSTALL_DIR)"; \ - $(CP) $$i $(INSTALL_DIR); \ + echo "! Installing $$i on $(subst \,/,$(INSTALL_DIR))"; \ + $(CP) $$i $(subst \,/,$(INSTALL_DIR)); \ true; \ else \ echo "! Can't install $$i, not found" 1>&2; \