mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +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"
|
run_command_nocd rm -rf "$PORT_DIR"
|
||||||
fi
|
fi
|
||||||
file=$(basename "$1")
|
file=$(basename "$1")
|
||||||
run_command_nocd curl "$1" -o "$file"
|
run_command_nocd curl -L "$1" -o "$file"
|
||||||
mkdir "$PORT_DIR"
|
mkdir "$PORT_DIR"
|
||||||
|
|
||||||
# may need to make strip-components configurable, as I bet some sick person
|
# may need to make strip-components configurable, as I bet some sick person
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue