diff options
author | Joe <bousset.rudy@gmail.com> | 2022-04-26 20:14:46 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-04-26 20:14:46 +0200 |
commit | 57e42ba493ecc1838810bf608abb2f5feefe57f9 (patch) | |
tree | df3ff836fb0a3509e120432e6b80f0eadd240893 /src/gitjoe/chowner.pl | |
parent | Even cleaner (diff) | |
download | joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.gz joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.bz2 joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.xz joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.zst joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.zip |
Migrated
Diffstat (limited to 'src/gitjoe/chowner.pl')
-rwxr-xr-x | src/gitjoe/chowner.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gitjoe/chowner.pl b/src/gitjoe/chowner.pl index 203e4ba..f3b1218 100755 --- a/src/gitjoe/chowner.pl +++ b/src/gitjoe/chowner.pl @@ -3,6 +3,7 @@ use strict; use warnings; use Term::ANSIColor; +use constant HOME_DIR => '/usr/local/git/'; sub main { @@ -17,7 +18,7 @@ sub main my $usr = $ARGV[0]; my $repo = $ARGV[1]; my $owner = $ARGV[2]; - my $home_dir = '/usr/home/' . $usr . '/'; + my $home_dir = HOME_DIR . $usr . '/'; if (substr($repo, -4) ne '.git') { $repo = $repo . '.git'; } |