aboutsummaryrefslogtreecommitdiffstats
path: root/gitjoe-newrepo.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 19:44:22 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 19:44:22 +0200
commitfc1c3dc42057941a054451872184279377909215 (patch)
tree098bb46904d61575a0db75d936a51db189928605 /gitjoe-newrepo.pl
parentNew script in progress to update gitjoe (diff)
downloadjoe-scripts-fc1c3dc42057941a054451872184279377909215.tar.gz
joe-scripts-fc1c3dc42057941a054451872184279377909215.tar.bz2
joe-scripts-fc1c3dc42057941a054451872184279377909215.tar.xz
joe-scripts-fc1c3dc42057941a054451872184279377909215.tar.zst
joe-scripts-fc1c3dc42057941a054451872184279377909215.zip
Update
Diffstat (limited to 'gitjoe-newrepo.pl')
-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',