diff options
Diffstat (limited to 'src/gitjoe-chdesc.pl')
-rwxr-xr-x | src/gitjoe-chdesc.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gitjoe-chdesc.pl b/src/gitjoe-chdesc.pl index 6784f97..9a9a9e5 100755 --- a/src/gitjoe-chdesc.pl +++ b/src/gitjoe-chdesc.pl @@ -24,6 +24,10 @@ sub main { open(my $desc_fh, '>:encoding(UTF-8)', $home_dir . $repo . 'description'); print $desc_fh $desc; close($desc_fh); + system( + '/usr/local/bin/dash', + '-c', + '/usr/sbin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . $repo . 'description' exit; } |