Unverified Commit 6583a7b8 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

duneci-install-module: HEAD might not be a symbolic ref

This might happen, for example, when a tag is requested via
parent 7c7ca904
Pipeline #805 passed with stages
in 68 minutes and 57 seconds
......@@ -74,7 +74,7 @@ opts="${DUNECI_OPTS:-/duneci/opts.gcc}"
cd "${module}"
git_branch=$(git symbolic-ref HEAD)
git_branch=$(git symbolic-ref HEAD 2>/dev/null || echo "(unknown)")
echo "Installing ${module}; branch ${git_branch}"
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