From 8df18a76066a5276d216a1ebdc537b86138d9e64 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Mon, 12 Mar 2012 19:22:14 +0000 Subject: [PATCH] 2012-03-12 12:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideuisrcmanager.prg - Deleted: hack "HB_QTPATH" embedding in batch file. I was wrong in my assertion that fired process does not take over current process's enviroment. --- harbour/ChangeLog | 8 +++++++- harbour/contrib/hbide/ideuisrcmanager.prg | 6 ++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9492216553..4ecb943ad2 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,7 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ -2012-03-12 20:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) +2012-03-12 12:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbide/ideuisrcmanager.prg + - Deleted: hack "HB_QTPATH" embedding in batch file. + I was wrong in my assertion that fired process does not take + over current process's enviroment. + +2012-03-12 08:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg * contrib/hbide/ideuisrcmanager.prg ! Changed: hb_osNewLine() => hb_eol() diff --git a/harbour/contrib/hbide/ideuisrcmanager.prg b/harbour/contrib/hbide/ideuisrcmanager.prg index 957a1c9632..954408fc2c 100644 --- a/harbour/contrib/hbide/ideuisrcmanager.prg +++ b/harbour/contrib/hbide/ideuisrcmanager.prg @@ -680,10 +680,8 @@ METHOD IdeUISrcManager:runHbmk2( cUI ) IF hb_fileExists( cBatch ) cBuf := memoread( cBatch ) - IF ! empty( hb_getEnv( "HB_QTPATH" ) ) - cBuf := "SET HB_QTPATH=" + hb_getEnv( "HB_QTPATH" ) + hb_eol() + cBuf - ENDIF - cBuf += hb_eol() + cExeHbMk2 + " " + cHbpFileName + " " + cCmdParams + hb_osNewLine() + cBuf += "SET " + hb_eol() + cBuf += hb_eol() + cExeHbMk2 + " " + cHbpFileName + " " + cCmdParams + hb_eol() hb_memowrit( cBatch, cBuf ) ENDIF //