mirror of
https://github.com/git/git.git
synced 2024-09-25 14:33:31 +02:00
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>
This commit is contained in:
parent
ae20de5386
commit
3f7f271004
@ -22,13 +22,13 @@ my $my_url = $cgi->url();
|
|||||||
my $my_uri = $cgi->url(-absolute => 1);
|
my $my_uri = $cgi->url(-absolute => 1);
|
||||||
my $rss_link = "";
|
my $rss_link = "";
|
||||||
|
|
||||||
|
# location of the git-core binaries
|
||||||
|
my $gitbin = "/usr/bin";
|
||||||
|
|
||||||
# absolute fs-path which will be prepended to the project path
|
# absolute fs-path which will be prepended to the project path
|
||||||
#my $projectroot = "/pub/scm";
|
#my $projectroot = "/pub/scm";
|
||||||
my $projectroot = "/home/kay/public_html/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
|
# version of the git-core binaries
|
||||||
my $git_version = qx($gitbin/git --version);
|
my $git_version = qx($gitbin/git --version);
|
||||||
if ($git_version =~ m/git version (.*)$/) {
|
if ($git_version =~ m/git version (.*)$/) {
|
||||||
|
Loading…
Reference in New Issue
Block a user