From 35f3afdbdea49b9b6da3431022a50b94a47ec912 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sat, 10 Dec 2016 19:05:00 +0200 Subject: SBO::Lib::Repo: add --no-local switch to git clone command. This closes #47. --- SBO-Lib/lib/SBO/Lib/Repo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SBO-Lib/lib/SBO/Lib') diff --git a/SBO-Lib/lib/SBO/Lib/Repo.pm b/SBO-Lib/lib/SBO/Lib/Repo.pm index e920b6b..1330073 100644 --- a/SBO-Lib/lib/SBO/Lib/Repo.pm +++ b/SBO-Lib/lib/SBO/Lib/Repo.pm @@ -242,7 +242,7 @@ sub git_sbo_tree { } else { chdir $config{SBO_HOME} or return 0; remove_tree($repo_path) if -d $repo_path; - $res = system(qw/ git clone /, $url, $repo_path) == 0; + $res = system(qw/ git clone --no-local /, $url, $repo_path) == 0; } _race::cond '$cwd could be deleted here'; return 1 if chdir $cwd and $res; -- cgit v1.2.3