Bump version to 0.004002 and update Changes.
[catagits/Gitalist.git] / lib / Gitalist / TraitFor / Script.pm
index 17ad1f9..a40fd03 100644 (file)
@@ -13,6 +13,13 @@ has repo_dir => (
     },
 );
 
+around run => sub {
+    my $orig = shift;
+    my $self = shift;
+    local $ENV{GITALIST_REPO_DIR} = $self->repo_dir;
+    $self->$orig(@_);
+};
+
 1;
 
 =head1 NAME