2009-02-17 19:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* utils/hbmk/hbmk2.prg
    ! Fixed Linux system location detection to work
      regardless of the name of the executable.
This commit is contained in:
Viktor Szakats
2009-02-17 18:29:12 +00:00
parent 8670b0b82c
commit 9383fb9119
2 changed files with 7 additions and 2 deletions

View File

@@ -8,6 +8,11 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-02-17 19:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
! Fixed Linux system location detection to work
regardless of the name of the executable.
2009-02-17 18:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
+ More informative messages for HB_COMPILER problems.

View File

@@ -337,13 +337,13 @@ FUNCTION Main( ... )
IF Empty( GetEnv( "HB_INSTALL_PREFIX" ) )
DO CASE
CASE hb_ProgName() == "/opt/harbour/hbmk"
CASE hb_DirBase() == "/opt/harbour/"
lSysLoc := .T.
s_cHB_INSTALL_PREFIX := "/opt/harbour"
CASE hb_ProgName() == "/usr/local/bin/hbmk"
CASE hb_DirBase() == "/usr/local/bin/"
lSysLoc := .T.