Archived
1
0
Fork 0

Clone via ssh instead of filesystem

This commit is contained in:
Mercier Pierre-Olivier 2013-11-03 01:15:49 +01:00
parent 6d9af44499
commit 4ba4f34993

View file

@ -20,7 +20,7 @@ sub process
my $rendu = $args->{param}{rendu};
my $login = $args->{param}{login};
my $path = $args->{param}{path} // "/srv/git/repositories/$year/$project_id/$login.git";
my $path = $args->{param}{path} // "ssh://git@localhost/$year/$project_id/$login.git";
croak "$path is not a valid path." if (! -d $path);