1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 22:07:35 +00:00

Ports: Port gn

This requires allowing ports to override fetch() since tar.gz sha256sums
from googlesource.com are not deterministic.
This commit is contained in:
Andrew Kaster 2023-07-09 18:50:31 -06:00 committed by Andrew Kaster
parent 66c0e78c7d
commit b5a728ae5f
3 changed files with 38 additions and 1 deletions

View file

@ -310,7 +310,8 @@ do_download_file() {
fi
}
fetch() {
# FIXME: Don't allow overriding fetch, support multiple protocols instead. See #20004
func_defined fetch || fetch() {
pre_fetch
tried_download_again=0