aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/chowner.pl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/gitjoe/chowner.pl3
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;
}