aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgitjoe-newrepo.pl2
1 files changed, 2 insertions, 0 deletions
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',