Shall I correct 'bash' to 'posix' as a HB_SHELL value?
Brgds, Viktor On 2009.07.16., at 7:04, [email protected] wrote:
Revision: 11821 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11821&view=rev Author: druzus Date: 2009-07-16 17:04:00 +0000 (Thu, 16 Jul 2009) Log Message: ----------- 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 '/' Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/config/instsh.cf Modified: trunk/harbour/ChangeLog =================================================================== --- trunk/harbour/ChangeLog 2009-07-16 16:41:07 UTC (rev 11820) +++ trunk/harbour/ChangeLog 2009-07-16 17:04:00 UTC (rev 11821) @@ -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 Modified: trunk/harbour/config/instsh.cf =================================================================== --- trunk/harbour/config/instsh.cf 2009-07-16 16:41:07 UTC (rev 11820) +++ trunk/harbour/config/instsh.cf 2009-07-16 17:04:00 UTC (rev 11821) @@ -26,18 +26,18 @@ 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; \This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
