aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/newrepo.pl
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-04-26 20:14:46 +0200
committerJoe <bousset.rudy@gmail.com>2022-04-26 20:14:46 +0200
commit57e42ba493ecc1838810bf608abb2f5feefe57f9 (patch)
treedf3ff836fb0a3509e120432e6b80f0eadd240893 /src/gitjoe/newrepo.pl
parentEven cleaner (diff)
downloadjoe-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/newrepo.pl')
-rwxr-xr-xsrc/gitjoe/newrepo.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gitjoe/newrepo.pl b/src/gitjoe/newrepo.pl
index ea3c46d..dc8041b 100755
--- a/src/gitjoe/newrepo.pl
+++ b/src/gitjoe/newrepo.pl
@@ -4,6 +4,7 @@ use strict;
use warnings;
use Term::ANSIColor;
use File::Find;
+use constant HOME_DIR => '/usr/local/git/';
sub main
{
@@ -21,7 +22,7 @@ sub main
if ($argc >= 3) {
$desc = $ARGV[2];
}
- my $home_dir = '/usr/home/' . $usr . '/';
+ my $home_dir = HOME_DIR . $usr . '/';
if (substr($repo, -4) ne '.git') {
$repo = $repo . '.git';
}