Ports: Fix clean_dist
function in .port_include.sh
A bug was introduced in commit #20413, where the `clean_dist` function was missed from refactoring to the new "files" format.
This commit is contained in:
parent
5aa0be1a32
commit
afb19a2cff
Notes:
sideshowbarker
2024-07-16 23:05:02 +09:00
Author: https://github.com/tbhaxor Commit: https://github.com/SerenityOS/serenity/commit/afb19a2cff Pull-request: https://github.com/SerenityOS/serenity/pull/20485 Reviewed-by: https://github.com/timschumi ✅
1 changed files with 2 additions and 1 deletions
|
@ -422,7 +422,8 @@ clean() {
|
|||
}
|
||||
clean_dist() {
|
||||
for f in "${files[@]}"; do
|
||||
read url filename hash <<< $(echo "$f")
|
||||
read url hash <<< "$f"
|
||||
filename=$(basename "$url")
|
||||
rm -f "${PORT_META_DIR}/${filename}"
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue