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:
parent
9afd3d2157
commit
c520a72972
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue