mirror of
https://github.com/dynup/kpatch
synced 2025-03-11 05:07:53 +00:00
Merge pull request #886 from sm00th/safe_cleancache
kpatch-build: less aggressive clean_cache()
This commit is contained in:
commit
7dc6e5f215
@ -125,7 +125,7 @@ cleanup() {
|
||||
}
|
||||
|
||||
clean_cache() {
|
||||
rm -rf "$CACHEDIR"
|
||||
rm -rf "${CACHEDIR:?}/*"
|
||||
mkdir -p "$TEMPDIR" || die "Couldn't create $TEMPDIR"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user