From 7c96b4cb9d8f9387227fffa4d366d9bb3b30a578 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 8 Aug 2009 11:21:43 +0000 Subject: [PATCH] 2009-08-08 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat + Showing error message if HB_BIN_INSTALL is not set. * config/instsh.cf * "$(COMSPEC) /C" -> "$(CMDPREF)" --- harbour/ChangeLog | 9 +++++++-- harbour/bin/postinst.bat | 1 + harbour/config/instsh.cf | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 519bd03d19..e39a476770 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-08-08 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * bin/postinst.bat + + Showing error message if HB_BIN_INSTALL is not set. + + * config/instsh.cf + * "$(COMSPEC) /C" -> "$(CMDPREF)" 2009-08-07 23:43 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * config/globsh.cf @@ -25,8 +31,7 @@ * config/instsh.cf ! fixed OS/2 section, work around for OS/2 shell max line lenght. * config/os2/global.cf - * EXE_EXT set to .exe - + * BIN_EXT set to .exe 2009-08-07 12:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/appevent.ch diff --git a/harbour/bin/postinst.bat b/harbour/bin/postinst.bat index 40919e8418..6061b38fe7 100644 --- a/harbour/bin/postinst.bat +++ b/harbour/bin/postinst.bat @@ -13,6 +13,7 @@ rem rem See COPYING for licensing terms. rem --------------------------------------------------------------- +if "%HB_BIN_INSTALL%" == "" echo HB_BIN_INSTALL needs to be set. if "%HB_BIN_INSTALL%" == "" goto END echo Generating %HB_BIN_INSTALL%\hbmk.cfg... diff --git a/harbour/config/instsh.cf b/harbour/config/instsh.cf index f2e017bee9..082f624b60 100644 --- a/harbour/config/instsh.cf +++ b/harbour/config/instsh.cf @@ -66,8 +66,8 @@ ifeq ($(HB_SHELL),os2) # but I could not find any other way to make this work around the shell # command line length limit. define inst_file -@$(COMSPEC) /C if not exist $(INSTALL_DIR_OS) $(MDP) $(INSTALL_DIR) -$(COMSPEC) /C $(CP) $(file) $(INSTALL_DIR_OS) +@$(CMDPREF)if not exist $(INSTALL_DIR_OS) $(MDP) $(INSTALL_DIR) +$(CMDPREF)$(CP) $(file) $(INSTALL_DIR_OS) endef