We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2197e3e commit 1e46068Copy full SHA for 1e46068
scripts/build_layers.sh
@@ -105,10 +105,9 @@ function search_wheel {
105
INDEX=$2
106
107
SEARCH_PATTERN="${WHEEL_BASENAME}-[^\"]*${PY_TAG}[^\"]*${PLATFORM}[^\"]*\.whl"
108
+ INDEX_URL="${S3_BASE}/index-${INDEX}.html"
109
echo "Searching for wheel ${SEARCH_PATTERN}"
- export WHEEL_FILE=$(curl -sSfL "${S3_BASE}/index-${INDEX}.html" \
110
- | grep -o "$SEARCH_PATTERN" \
111
- | head -n 1)
+ export WHEEL_FILE=$(curl -sSfL ${INDEX_URL} | grep -o "$SEARCH_PATTERN" | head -n 1)
112
if [ ! -z "${WHEEL_FILE}" ]; then
113
curl -sSfL "${S3_BASE}/${WHEEL_FILE}" -o "${WHEEL_FILE}"
114
echo "Using S3 wheel: ${WHEEL_FILE}"
0 commit comments