author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 22 May 2007 07:22:51 +0000 (03:22 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 22 May 2007 07:22:51 +0000 (03:22 -0400) | ||
commit | 306fc124621657234b21dce542496440d53147a6 | |
tree | e649abfd2ab8e52849a9e6d25b1e7276971c6c1e | tree | snapshot |
parent | b9e7efb8b5f7d424466dd1ce61fd20658f60543f | commit | diff |
git-gui: Tighten internal pattern match for lib/ directory
Our GITGUI_LIBDIR macro was testing only for @@ at the start of
the path, assuming nobody would ever find that to be a reasonable
prefix for a directory to install our library into. That is most
likely a valid assumption, but its even more unlikely they would
have the start be @@GITGUI_ and the end be @@. Note that we
cannot use the full string here because that would get expanded
by the sed replacement in our Makefile.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Our GITGUI_LIBDIR macro was testing only for @@ at the start of
the path, assuming nobody would ever find that to be a reasonable
prefix for a directory to install our library into. That is most
likely a valid assumption, but its even more unlikely they would
have the start be @@GITGUI_ and the end be @@. Note that we
cannot use the full string here because that would get expanded
by the sed replacement in our Makefile.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |