diff options
Diffstat (limited to 'macosx/AppMain.tcl')
-rw-r--r-- | macosx/AppMain.tcl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/AppMain.tcl b/macosx/AppMain.tcl index 738bdd03ed..b6c6dc3500 100644 --- a/macosx/AppMain.tcl +++ b/macosx/AppMain.tcl @@ -1,5 +1,10 @@ set gitexecdir {@@gitexecdir@@} -set gitguilib {@@GITGUI_LIBDIR@@} +if { [info exists ::env(GIT_GUI_LIB_DIR) ] } { + set gitguilib $::env(GIT_GUI_LIB_DIR) +} else { + set gitguilib {@@GITGUI_LIBDIR@@} +} + set env(PATH) "$gitexecdir:$env(PATH)" if {[string first -psn [lindex $argv 0]] == 0} { |