about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Build.PL1
-rw-r--r--lib/jitterbug/Builder.pm3
2 files changed, 1 insertions, 3 deletions
diff --git a/Build.PL b/Build.PL
index 52158ee..ad985f4 100644
--- a/Build.PL
+++ b/Build.PL
@@ -20,7 +20,6 @@ my $builder = Module::Build->new(
         'XML::Feed'                => 0,
         'DateTime'                 => 0,
         'JSON'                     => 0,
-        'Git::Repository'          => 0,
         'YAML'                     => 0,
         'Dancer::Template::Xslate' => 0,
         'Dancer::Plugin::DBIC'     => 0,
diff --git a/lib/jitterbug/Builder.pm b/lib/jitterbug/Builder.pm
index 1f9bd3d..bb2e7b1 100644
--- a/lib/jitterbug/Builder.pm
+++ b/lib/jitterbug/Builder.pm
@@ -10,7 +10,6 @@ use File::Path qw/rmtree/;
 use Path::Class;
 use Getopt::Long qw/:config no_ignore_case/;
 use File::Basename;
-use Git::Repository;
 use jitterbug::Schema;
 use Cwd;
 #use Data::Dumper;
@@ -110,7 +109,7 @@ sub run_task {
         debug("Removing $build_dir");
         rmtree($build_dir, { error => \my $err } );
         warn @$err if @$err;
-        $r       = Git::Repository->create( clone => $repo => $build_dir );
+        system("git clone $repo $build_dir");
     } else {
         # If this is the first time, the repo won't exist yet
         debug("build_dir = $build_dir");