Move $gitbin earlier in gitweb.cgi
(cherry picked from 9dca843086356b964f27d8fabe1e3c48074a9f02 commit) Signed-off-by: Jakub Narebski <jnareb.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jakub Narebski committed
Jun 21, 2006 at 09:48 UTC
3f7f271004cd6b8f98bc4437408411c96a4766eb
1 file changed
+3
-3
gitweb/gitweb.cgi
+3
-3
@@ -22,13 +22,13 @@ my $my_url = $cgi->url();
22
my $my_uri = $cgi->url(-absolute => 1);
23
my $rss_link = "";
24
25
+# location of the git-core binaries
26
+my $gitbin = "/usr/bin";
27
+
28
# absolute fs-path which will be prepended to the project path
29
#my $projectroot = "/pub/scm";
30
my $projectroot = "/home/kay/public_html/pub/scm";
31
29
-# location of the git-core binaries
30
-my $gitbin = "/usr/bin";
31
-
32
# version of the git-core binaries
33
my $git_version = qx($gitbin/git --version);
34
if ($git_version =~ m/git version (.*)$/) {