From c4d614538147873fee3cbc92ef03fcc624b484b2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 7 Jul 2020 19:45:22 +0200 Subject: Fix again --- gitjoe-newrepo.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitjoe-newrepo.pl b/gitjoe-newrepo.pl index 2a6712d..f0e4c91 100755 --- a/gitjoe-newrepo.pl +++ b/gitjoe-newrepo.pl @@ -54,7 +54,7 @@ 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); + substr($repo, -1) = ""; print $url_fh 'git://jozanleclerc.xyz/' . $usr . '/' . chomp($repo); close($url_fh); $repo = $repo . '/'; -- cgit v1.2.3