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 '/'
This commit is contained in:
Przemyslaw Czerpak
2009-07-16 17:04:00 +00:00
parent 5bb6740b89
commit acaf021bb4
2 changed files with 10 additions and 5 deletions

View File

@@ -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

View File

@@ -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; \