Skip to content

Commit

Permalink
Move $gitbin earlier in gitweb.cgi
Browse files Browse the repository at this point in the history
(cherry picked from 9dca843086356b964f27d8fabe1e3c48074a9f02 commit)

Signed-off-by: Jakub Narebski <jnareb.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Jun 21, 2006
1 parent ae20de5 commit 3f7f271
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gitweb/gitweb.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ my $my_url = $cgi->url();
my $my_uri = $cgi->url(-absolute => 1);
my $rss_link = "";

# location of the git-core binaries
my $gitbin = "/usr/bin";

# absolute fs-path which will be prepended to the project path
#my $projectroot = "/pub/scm";
my $projectroot = "/home/kay/public_html/pub/scm";

# location of the git-core binaries
my $gitbin = "/usr/bin";

# version of the git-core binaries
my $git_version = qx($gitbin/git --version);
if ($git_version =~ m/git version (.*)$/) {
Expand Down

0 comments on commit 3f7f271

Please sign in to comment.