Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

302 error on build-fedora.sh #38

@krama

Description

@krama

wget doesn't follow GitHub redirects, GitHub returns HTTP 302 redirects for raw file URLs. The wget -O- command doesn't follow redirects by default, so it downloads the redirect HTML page instead of the actual file. When piped to tar, this fails because tar receives HTML instead of a gzip archive.

Replace wget -O- with curl -L or wget -O- --max-redirect=5 would also work, but curl is more concise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions