Commit 77cc1dc2 authored by Ralf Jung's avatar Ralf Jung

debug

parent 56a5137c
Pipeline #4739 passed with stage
in 14 minutes and 24 seconds
......@@ -53,6 +53,8 @@ while (( "$#" )); do # while there are arguments left
# Check if the pin is already set
PIN=$(opam pin list | (egrep "^$PACKAGE[. ]" || true))
echo "Detected pin: $PIN"
echo "$PIN" | cut -d ' ' -f 2
echo "$PIN" | cut -d ' ' -f 3
if [[ "$(echo "$PIN" | cut -d ' ' -f 2)" == "$KIND" && "$(echo "$PIN" | cut -d ' ' -f 3)" == "$VERSION" ]]; then
echo "[opam-ci] $PACKAGE already $KIND-pinned to $VERSION"
else
......
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