diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 17:55:52 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 17:55:52 +0200 |
commit | 99e7509d25fc6c108838f01734f6e6c41527f7d7 (patch) | |
tree | 2657efed68f08e5f6adb33353def1f2c0b6bbc63 /src/gitjoe/chowner.pl | |
parent | Fucked up (diff) | |
download | joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.gz joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.bz2 joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.xz joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.tar.zst joe-scripts-99e7509d25fc6c108838f01734f6e6c41527f7d7.zip |
More log messages, improved seds
Diffstat (limited to 'src/gitjoe/chowner.pl')
-rwxr-xr-x | src/gitjoe/chowner.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gitjoe/chowner.pl b/src/gitjoe/chowner.pl index 8a421f4..bd59aac 100755 --- a/src/gitjoe/chowner.pl +++ b/src/gitjoe/chowner.pl @@ -29,6 +29,9 @@ sub main { '-c', '/usr/sbin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . $repo . 'owner' ); + substr($repo, -1) = ""; + print "Changed git repository " . colored($repo, 'bold green') . " owner for user " . colored($usr, 'bold') . ".\n" + "New owner: ". colored($owner, 'bold green') . ".\n"; exit; } |