Assign default value

Before the unset `DUNECI_OPTS` was used in the next line...
parent ddc824a9
Pipeline #568 passed with stages
in 39 minutes and 59 seconds
......@@ -3,9 +3,8 @@
set -e
set -u
if [[ -n "${DUNECI_OPTS:-/duneci/opts.gcc}" ]]; then
set -- --opts="${DUNECI_OPTS}" "${@}"
fi
: ${DUNECI_OPTS:=/duneci/opts.gcc}
set -- --opts="${DUNECI_OPTS}" "${@}"
DUNECONTROL=dunecontrol
if [[ -x bin/dunecontrol ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment