diff --git a/hooks/submissions.pl b/hooks/submissions.pl index f264b05..8293a1e 100755 --- a/hooks/submissions.pl +++ b/hooks/submissions.pl @@ -111,7 +111,7 @@ if ($ref =~ m<^refs/tags/(.+)$>) "id" => $id_project, "rendu" => $tag, "login" => $repo_login, -# "path" => "ssh://git@localhost/".$ENV{GL_REPO}, +# "path" => "ssh://git\@localhost/".$ENV{GL_REPO}, }); }; if ($@) { diff --git a/process/files/send_git.pl b/process/files/send_git.pl index 351e04f..f163875 100644 --- a/process/files/send_git.pl +++ b/process/files/send_git.pl @@ -20,7 +20,7 @@ sub process my $rendu = $args->{param}{rendu}; my $login = $args->{param}{login}; - my $path = $args->{param}{path} // "ssh://git@localhost/$year/$project_id/$login.git"; + my $path = $args->{param}{path} // "ssh://git\@localhost/$year/$project_id/$login.git"; my $tempdir = tempdir();