Bootstrap test fixes.
[catagits/Gitalist.git] / t / 02git_head.t
index be92102..8c6ffdd 100644 (file)
@@ -1,3 +1,11 @@
+use FindBin qw/$Bin/;
+BEGIN {
+    my $env = "$FindBin::Bin/../script/env";
+    if (-r $env) {
+        do $env or die $@;
+    }
+}
+
 use strict;
 use warnings;
 use Test::More qw/no_plan/;