Merge pull request #36001 from tophj-ibm/frozen-z-ci
[ci] use alternate sh comparison
This commit is contained in:
commit
bc183a0062
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ fetch_blob() {
|
|||
-D-
|
||||
)"
|
||||
curlHeaders="$(echo "$curlHeaders" | tr -d '\r')"
|
||||
if echo "$curlHeaders" | grep -qE "^HTTP/[0-9].[0-9] 3"; then
|
||||
if grep -qE "^HTTP/[0-9].[0-9] 3" <<<"$curlHeaders"; then
|
||||
rm -f "$targetFile"
|
||||
|
||||
local blobRedirect="$(echo "$curlHeaders" | awk -F ': ' 'tolower($1) == "location" { print $2; exit }')"
|
||||
|
|
Loading…
Add table
Reference in a new issue