Re: git-gui cannot find share/git-gui under cygwin

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Levedahl
Date: Tuesday, June 19, 2007 - 11:41 am

Shawn O. Pearce wrote:
sorry, no joy. The problem is that gitexecdir=/usr/bin, but...

/usr/bin is a Cygwin mount point that points at c:\cygwin\bin.

so...

$ cygpath -m -a /bin
C:/cygwin/bin
$ cygpath -m -a /usr
C:/cygwin/usr
$ cygpath -m -a /usr/bin
C:/cygwin/bin
$ cygpath -m -a /usr/share
C:/cygwin/usr/share

and the result is that both  exedir_SQ  and  libdir_SQ  have the value  
/usr/share/git-gui-lib

I don't think there is a portable solution here. Maybe just say

    if test "$(uname_O)" = Cygwin; then \
        GITGUI_RELATIVE=; \
 
and be done with it.

Mark
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-gui cannot find share/git-gui under cygwin, Mark Levedahl, (Tue Jun 19, 5:28 am)
Re: git-gui cannot find share/git-gui under cygwin, Shawn O. Pearce, (Tue Jun 19, 7:49 am)
Re: git-gui cannot find share/git-gui under cygwin, Mark Levedahl, (Tue Jun 19, 11:41 am)
Re: git-gui cannot find share/git-gui under cygwin, Shawn O. Pearce, (Wed Jun 20, 8:30 pm)