Commit f0b8ee66 authored by Ralf Jung's avatar Ralf Jung

don't try to be smart about having an up-to-date opam

parent 7ccbd319
...@@ -19,13 +19,8 @@ eval `opam conf env` ...@@ -19,13 +19,8 @@ eval `opam conf env`
run_and_print make build-dep/opam run_and_print make build-dep/opam
# Update repositories # Update repositories
if test $(find "$OPAMROOT/repo/package-index" -mtime +0); then run_and_print opam update
# last update was more than a day ago
run_and_print opam update
else
# only update iris-dev, and only if it already exists
if test -d "$OPAMROOT/repo/iris-dev"; then run_and_print opam update iris-dev; fi
fi
# Make sure we got the right set of repositories registered # Make sure we got the right set of repositories registered
if echo "$@" | fgrep "dev"; then if echo "$@" | fgrep "dev"; then
# We are compiling against a dev version of something. Get ourselves the dev repositories. # We are compiling against a dev version of something. Get ourselves the dev repositories.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment