Fix problem with updating deps in rebar.config for non-tags
This commit is contained in:
parent
960cf495c6
commit
dc7fa076d7
|
@ -60,7 +60,7 @@ sub update_deps_repos {
|
||||||
system("git", "-C", ".deps-update", "clone", $repo);
|
system("git", "-C", ".deps-update", "clone", $repo);
|
||||||
} elsif (time() - stat($dd)->mtime > 24 * 60 * 60) {
|
} elsif (time() - stat($dd)->mtime > 24 * 60 * 60) {
|
||||||
say "Updating $dep...";
|
say "Updating $dep...";
|
||||||
system("git", "-C", $dd, "fetch");
|
system("git", "-C", $dd, "pull");
|
||||||
touch($dd)
|
touch($dd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue