Ports: Remove the ability to override fetch
and patch_internal
This commit is contained in:
parent
d94bffd708
commit
ce556c9566
Notes:
sideshowbarker
2024-07-17 01:55:29 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/ce556c9566 Pull-request: https://github.com/SerenityOS/serenity/pull/20904 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/gmta
1 changed files with 2 additions and 3 deletions
|
@ -402,8 +402,7 @@ fetch_git() {
|
|||
fi
|
||||
}
|
||||
|
||||
# FIXME: Don't allow overriding fetch, support multiple protocols instead. See #20004
|
||||
func_defined fetch || fetch() {
|
||||
fetch() {
|
||||
pre_fetch
|
||||
|
||||
for f in "${files[@]}"; do
|
||||
|
@ -436,7 +435,7 @@ func_defined pre_patch || pre_patch() {
|
|||
:
|
||||
}
|
||||
|
||||
func_defined patch_internal || patch_internal() {
|
||||
patch_internal() {
|
||||
if [ -n "${IN_SERENITY_PORT_DEV:-}" ]; then
|
||||
return
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue