diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-07 19:44:22 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-07 19:44:22 +0200 |
commit | fc1c3dc42057941a054451872184279377909215 (patch) | |
tree | 098bb46904d61575a0db75d936a51db189928605 /gitjoe-newrepo.pl | |
parent | New script in progress to update gitjoe (diff) | |
download | joe-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-x | gitjoe-newrepo.pl | 2 |
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', |