Commit cd4d129a authored by Ralf Jung's avatar Ralf Jung

debug

parent 77cc1dc2
Pipeline #4742 canceled with stage
in 5 minutes and 59 seconds
......@@ -53,9 +53,9 @@ 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 "$PIN" | cut -f 2
echo "$PIN" | cut -f 3
if [[ "$(echo "$PIN" | cut -f 2)" == "$KIND" && "$(echo "$PIN" | cut -f 3)" == "$VERSION" ]]; then
echo "[opam-ci] $PACKAGE already $KIND-pinned to $VERSION"
else
echo "[opam-ci] $KIND-pinning $PACKAGE to $VERSION"
......
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