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:
parent
5aa0be1a32
commit
afb19a2cff
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
Add a link
Reference in a new issue