Remove duplicate --yes from opam calls

These --yes might have been intended for opam list, but opam list doesn't ask
for confirmation so we can just remove it.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2018-08-02 09:23:02 +02:00
parent 9afd3d2157
commit c520a72972
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ case "$TARGET" in
eval $(opam config env)
opam install ocamlfind utop ppxlib reason odoc menhir ocaml-migrate-parsetree js_of_ocaml-ppx js_of_ocaml-compiler --yes
opam remove --yes dune jbuilder \
`opam list --depends-on jbuilder --installed --short` --yes \
`opam list --depends-on dune --installed --short` --yes
`opam list --depends-on jbuilder --installed --short` \
`opam list --depends-on dune --installed --short`
if opam info dune &> /dev/null; then
opam remove dune `opam list --depends-on dune --installed --short` --yes
fi