Correct curl -O vs -o

This commit is contained in:
Eric Renfro 2024-08-04 20:03:03 -04:00
parent a163491b04
commit e31f412871
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -227,7 +227,7 @@ function stage_step() {
#FIXME check $INSTALL_STAGE for http or local file
if [[ "$INSTALL_STAGE" == http* ]]; then
s4file="${INSTALL_STAGE##*/}"
${cmd} curl -O "/mnt/gentoo/${s4file}" "$INSTALL_STAGE" || errormsg 1 "Failed to download stage4 archive"
${cmd} curl -o "/mnt/gentoo/${s4file}" "$INSTALL_STAGE" || errormsg 1 "Failed to download stage4 archive"
s4file="/mnt/gentoo/${INSTALL_STAGE##*/}"
else
s4file="${INSTALL_STAGE}"