aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/chdesc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitjoe/chdesc.pl')
-rwxr-xr-xsrc/gitjoe/chdesc.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gitjoe/chdesc.pl b/src/gitjoe/chdesc.pl
index e15ca4e..b0c25b7 100755
--- a/src/gitjoe/chdesc.pl
+++ b/src/gitjoe/chdesc.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 $desc = $ARGV[2];
- my $home_dir = '/usr/home/' . $usr . '/';
+ my $home_dir = HOME_DIR . $usr . '/';
if (substr($repo, -4) ne '.git') {
$repo = $repo . '.git';
}