mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
Ports: Force curl to follow redirects in run_fetch_web() (#266)
This fixes downloading files from github when building ports.
This commit is contained in:
parent
54d7670fc3
commit
362ac8f1ba
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ run_fetch_web() {
|
|||
run_command_nocd rm -rf "$PORT_DIR"
|
||||
fi
|
||||
file=$(basename "$1")
|
||||
run_command_nocd curl "$1" -o "$file"
|
||||
run_command_nocd curl -L "$1" -o "$file"
|
||||
mkdir "$PORT_DIR"
|
||||
|
||||
# may need to make strip-components configurable, as I bet some sick person
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue