[CI Pipeline] Explicitly specify --url argument to hab pkg download
@@ -25,8 +25,13 @@ cd "${tmp_root}"
echo "--- Downloading core/hab for $BUILD_PKG_TARGET from ${channel} channel"
+# Currently, we must explicitly specify `--url`, despite the presence
+# of `HAB_BLDR_URL` due to a bug in `hab pkg download`.
+#
+# Explicitness never hurt, though :)
${hab_binary} pkg download core/hab \
--target="${BUILD_PKG_TARGET}" \
+ --url="${HAB_BLDR_URL}" \
--channel="${channel}" \
--download-directory="."
hart="$(find . -type f -name 'core-hab-*-'"${BUILD_PKG_TARGET}"'.hart')"
