-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take into account instances of *wanted* word-splitting
Signed-off-by: Ambre Austen Suhamy <[email protected]>
- Loading branch information
1 parent
4427316
commit 4ffd5ad
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,15 @@ echo "$OPAMROOT" | |
|
||
case "$SOLVER" in | ||
z3) | ||
PKGS=$SOLVER | ||
PKGS=("$SOLVER") | ||
if [[ $RUNNER_OS = 'macOS' ]]; then | ||
# brew may require extra flags to override the system-installed python, | ||
# so we assume the presence of python3 on the macOS runners. | ||
opam option --global 'depext-bypass=["[email protected]"]' | ||
fi | ||
;; | ||
0install) | ||
PKGS="$SOLVER opam-0install-cudf" | ||
PKGS=("$SOLVER" opam-0install-cudf) | ||
;; | ||
*) | ||
echo -e "\e[31mSolver $SOLVER not handled\e[0m"; | ||
|
@@ -32,7 +32,7 @@ esac | |
opam update --depexts | ||
opam switch create "$SOLVER" ocaml-system || true | ||
opam upgrade --all | ||
opam install "$PKGS" | ||
opam install "${PKGS[@]}" | ||
opam install . --deps | ||
opam clean --logs --switch-cleanup | ||
eval $(opam env) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters