mirror of
https://github.com/alibaba/higress.git
synced 2026-05-28 22:57:31 +08:00
fix: Fix the incompatibility issue with Windows using pipeline (#426)
This commit is contained in:
@@ -167,9 +167,9 @@ download() {
|
|||||||
HIGRESS_TMP_FILE="$HIGRESS_TMP_ROOT/$HIGRESS_DIST"
|
HIGRESS_TMP_FILE="$HIGRESS_TMP_ROOT/$HIGRESS_DIST"
|
||||||
echo "Downloading $DOWNLOAD_URL..."
|
echo "Downloading $DOWNLOAD_URL..."
|
||||||
if [ "${HAS_CURL}" == "true" ]; then
|
if [ "${HAS_CURL}" == "true" ]; then
|
||||||
curl -SsL "$DOWNLOAD_URL" -o "$HIGRESS_TMP_FILE"
|
curl -SsL "$DOWNLOAD_URL" > "$HIGRESS_TMP_FILE"
|
||||||
elif [ "${HAS_WGET}" == "true" ]; then
|
elif [ "${HAS_WGET}" == "true" ]; then
|
||||||
wget -q -O "$HIGRESS_TMP_FILE" "$DOWNLOAD_URL"
|
wget -q -O - "$DOWNLOAD_URL" > "$HIGRESS_TMP_FILE"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user