diff options
Diffstat (limited to 'git-gui/Makefile')
-rw-r--r-- | git-gui/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/git-gui/Makefile b/git-gui/Makefile index 26ac4b6bb0..c109eab137 100644 --- a/git-gui/Makefile +++ b/git-gui/Makefile @@ -117,14 +117,12 @@ GITGUI_SCRIPT := $$0 GITGUI_RELATIVE := GITGUI_MACOSXAPP := -ifeq ($(exedir),$(gg_libdir)) - GITGUI_RELATIVE := 1 -endif - ifeq ($(uname_O),Cygwin) GITGUI_SCRIPT := `cygpath --windows --absolute "$(GITGUI_SCRIPT)"` - ifeq ($(GITGUI_RELATIVE),) - gg_libdir := $(shell cygpath --windows --absolute "$(gg_libdir)") + gg_libdir := $(shell cygpath --windows --absolute "$(gg_libdir)") +else + ifeq ($(exedir),$(gg_libdir)) + GITGUI_RELATIVE := 1 endif endif ifeq ($(uname_S),Darwin) |