From fc1c3dc42057941a054451872184279377909215 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 7 Jul 2020 19:44:22 +0200 Subject: Update --- gitjoe-newrepo.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitjoe-newrepo.pl b/gitjoe-newrepo.pl index bedb9e2..2a6712d 100755 --- a/gitjoe-newrepo.pl +++ b/gitjoe-newrepo.pl @@ -54,8 +54,10 @@ sub main { '/usr/sbin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . $repo . 'owner' ); open(my $url_fh, '>:encoding(utf-8)', $home_dir . $repo . 'url'); + chomp($repo); print $url_fh 'git://jozanleclerc.xyz/' . $usr . '/' . chomp($repo); close($url_fh); + $repo = $repo . '/'; system( '/usr/local/bin/dash', '-c', -- cgit v1.2.3