script: Fix typo (and improve compat with opam-2.0)

This commit is contained in:
Grégoire Henry 2016-09-12 16:18:19 +02:00
parent e0c039e244
commit c1079c78e4

View File

@ -52,7 +52,7 @@ fi
if [ ! -z "$install" ] ; then if [ ! -z "$install" ] ; then
if opam list --installed tezos-deps ; then if opam list --installed tezos-deps ; then
opam upgrade $(shell opam list -s --required-by tezos-deps) opam upgrade $(opam list -s --required-by tezos-deps | grep -ve '^ocaml *$')
else else
opam install tezos-deps opam install tezos-deps
fi fi