mirror of
https://github.com/alibaba/higress.git
synced 2026-02-27 22:20:57 +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"
|
||||
echo "Downloading $DOWNLOAD_URL..."
|
||||
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
|
||||
wget -q -O "$HIGRESS_TMP_FILE" "$DOWNLOAD_URL"
|
||||
wget -q -O - "$DOWNLOAD_URL" > "$HIGRESS_TMP_FILE"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user