Skip to content

Commit

Permalink
bugfix: Do not require SKIP_OPAM_INSTALL
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahbeckford committed Jan 21, 2023
1 parent 50c7fdf commit 2b6e2df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/build-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ if [ -e "$xswitch/src-ocaml/config.log" ]; then
fi

# Update
if ! [ "${SKIP_OPAM_INSTALL}" = ON ]; then
if ! [ "${SKIP_OPAM_INSTALL:-}" = ON ]; then
opamrun update
fi

# Build and test
OPAM_PKGNAME=${OPAM_PACKAGE%.opam}
if ! [ "${SKIP_OPAM_INSTALL}" = ON ]; then
if ! [ "${SKIP_OPAM_INSTALL:-}" = ON ]; then
opamrun install "./${OPAM_PKGNAME}.opam" --with-test --yes
fi

Expand Down

0 comments on commit 2b6e2df

Please sign in to comment.