mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss: Don't return from pkg_clean
This fixes an issue where a build failure alongside KISS_DEBUG having a value of '1' prevented the package manager from aborting.
This commit is contained in:
parent
b1bd880c07
commit
528b3023a9
4
kiss
4
kiss
@ -1295,8 +1295,7 @@ pkg_updates() {
|
||||
|
||||
pkg_clean() {
|
||||
# Clean up on exit or error. This removes everything related to the build.
|
||||
[ "$KISS_DEBUG" != 1 ] || return
|
||||
|
||||
[ "$KISS_DEBUG" = 1 ] || {
|
||||
# Create a list containing the current invocation's temporary files and
|
||||
# directories.
|
||||
set +f -- "$mak_dir" "$pkg_dir" "$tar_dir"
|
||||
@ -1308,6 +1307,7 @@ pkg_clean() {
|
||||
done
|
||||
|
||||
rm -rf -- "$@"
|
||||
}
|
||||
}
|
||||
|
||||
args() {
|
||||
|
Loading…
Reference in New Issue
Block a user