test to see if we are getting git
This commit is contained in:
parent
a05b17b961
commit
27f7f9bc90
@ -19,6 +19,7 @@ my $repo_dir = "/var/lib/pr-status/nixpkgs";
|
||||
$ENV{"GIT_CONFIG_SYSTEM"} = ""; # Ignore insteadOf rules
|
||||
$ENV{"HOME"} = "/tmp"; # Ignore ~/.netrc
|
||||
|
||||
warn Git::exec_path();
|
||||
Git::command_noisy( 'clone', 'https://github.com/nixos/nixpkgs', $repo_dir )
|
||||
if !-e $repo_dir;
|
||||
my $repo = Git->repository( Directory => $repo_dir );
|
||||
|
Loading…
Reference in New Issue
Block a user