aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 19:45:22 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 19:45:22 +0200
commitc4d614538147873fee3cbc92ef03fcc624b484b2 (patch)
tree69cfe25fe2ceb8e2ce6202b98843e8c4c036a1fa
parentUpdate (diff)
downloadjoe-scripts-c4d614538147873fee3cbc92ef03fcc624b484b2.tar.gz
joe-scripts-c4d614538147873fee3cbc92ef03fcc624b484b2.tar.bz2
joe-scripts-c4d614538147873fee3cbc92ef03fcc624b484b2.tar.xz
joe-scripts-c4d614538147873fee3cbc92ef03fcc624b484b2.tar.zst
joe-scripts-c4d614538147873fee3cbc92ef03fcc624b484b2.zip
Fix again
Diffstat (limited to '')
-rwxr-xr-xgitjoe-newrepo.pl2
1 files changed, 1 insertions, 1 deletions
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 . '/';