summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9e7efb)
raw | patch | inline | side by side (parent: b9e7efb)
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) |
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>
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 | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 0a471a5c7d4a2126f1f3322424a643796e1de715..40f54e4dab677f5dfd556a089d3d5de136f50e5d 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
## configure our library
set oguilib {@@GITGUI_LIBDIR@@}
-if {[string match @@* $oguilib]} {
+if {[string match @@GITGUI_*@@ $oguilib]} {
set oguilib [file join [file dirname [file normalize $argv0]] lib]
}
set idx [file join $oguilib tclIndex]