mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Clone to the dir specified in rebar.config... useful for erlang-sqlite3
This commit is contained in:
parent
b41ce8828c
commit
c8bec07c45
@ -65,7 +65,7 @@ sub update_deps_repos {
|
||||
say "Downloading $dep...";
|
||||
my $repo = $deps->{$dep}->{repo};
|
||||
$repo =~ s!^https?://github.com/!git\@github.com:!;
|
||||
system("git", "-C", ".deps-update", "clone", $repo);
|
||||
system("git", "-C", ".deps-update", "clone", $repo, $dep);
|
||||
} elsif (time() - stat($dd)->mtime > 24 * 60 * 60 or $force) {
|
||||
say "Updating $dep...";
|
||||
system("git", "-C", $dd, "pull");
|
||||
|
Loading…
Reference in New Issue
Block a user