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

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:
Gurkirat Singh 2023-08-11 04:16:47 +05:30 committed by Tim Schumacher
parent 5aa0be1a32
commit afb19a2cff

View file

@ -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
}