aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/rmrepo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitjoe/rmrepo.pl')
-rwxr-xr-xsrc/gitjoe/rmrepo.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gitjoe/rmrepo.pl b/src/gitjoe/rmrepo.pl
index 9c82b14..b028bb4 100755
--- a/src/gitjoe/rmrepo.pl
+++ b/src/gitjoe/rmrepo.pl
@@ -3,6 +3,7 @@
use strict;
use warnings;
use Term::ANSIColor;
+use constant HOME_DIR => '/usr/local/git/';
sub main
{
@@ -16,7 +17,7 @@ sub main
}
my $usr = $ARGV[0];
my $repo = $ARGV[1];
- my $home_dir = '/usr/home/' . $usr . '/';
+ my $home_dir = HOME_DIR . $usr . '/';
if (substr($repo, -4) ne '.git') {
$repo = $repo . '.git';
}