aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/chowner.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-26 15:32:38 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-26 15:32:38 +0200
commit00d85855b657ecb3ff0da2c1601d9f59a19ddb22 (patch)
treefbed48feb16a81854db9fb4d1275ee1d7a1c34f4 /src/gitjoe/chowner.pl
parentTrying to remove bloat (diff)
downloadjoe-scripts-00d85855b657ecb3ff0da2c1601d9f59a19ddb22.tar.gz
joe-scripts-00d85855b657ecb3ff0da2c1601d9f59a19ddb22.tar.bz2
joe-scripts-00d85855b657ecb3ff0da2c1601d9f59a19ddb22.tar.xz
joe-scripts-00d85855b657ecb3ff0da2c1601d9f59a19ddb22.tar.zst
joe-scripts-00d85855b657ecb3ff0da2c1601d9f59a19ddb22.zip
Cool
Diffstat (limited to 'src/gitjoe/chowner.pl')
-rwxr-xr-xsrc/gitjoe/chowner.pl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gitjoe/chowner.pl b/src/gitjoe/chowner.pl
index bd59aac..4e60118 100755
--- a/src/gitjoe/chowner.pl
+++ b/src/gitjoe/chowner.pl
@@ -24,11 +24,6 @@ sub main {
open(my $owner_fh, '>:encoding(utf-8)', $home_dir . $repo . 'owner');
print $owner_fh $owner;
close($owner_fh);
- system(
- '/usr/local/bin/dash',
- '-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";