+ It's a bad practice to assign something to $1 according to the bash manual
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# OCaml version is assuming to be set (for instance as system compiler) if
# nothing is passed
@@ -8,7 +8,8 @@
# Use -y with evry opam command
export OPAMYES=true
# Installing opam
-opam init --comp="${1:=system}"
+comp=${1:-system}
+opam init --comp="${comp}"
eval `opam config env`
# Versions