Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simon Spies
stdpp
Commits
b6d60979
Commit
b6d60979
authored
Oct 28, 2017
by
Ralf Jung
Browse files
stop being smart about updating opam, it doesn't work very well
parent
8d0efe8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/opam-ci.sh
View file @
b6d60979
...
...
@@ -19,13 +19,8 @@ eval `opam conf env`
run_and_print make build-dep/opam
# Update repositories
if
test
$(
find
"
$OPAMROOT
/repo/package-index"
-mtime
+0
)
;
then
# 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
run_and_print opam update
# Make sure we got the right set of repositories registered
if
echo
"
$@
"
| fgrep
"dev"
;
then
# We are compiling against a dev version of something. Get ourselves the dev repositories.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment