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:
@@ -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
|
||||
|
||||
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user