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
Notes: sideshowbarker 2024-07-16 23:05:02 +09:00

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
}