mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +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() {
|
clean_dist() {
|
||||||
for f in "${files[@]}"; do
|
for f in "${files[@]}"; do
|
||||||
read url filename hash <<< $(echo "$f")
|
read url hash <<< "$f"
|
||||||
|
filename=$(basename "$url")
|
||||||
rm -f "${PORT_META_DIR}/${filename}"
|
rm -f "${PORT_META_DIR}/${filename}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue