mirror of
https://github.com/dynup/kpatch
synced 2025-04-11 03:31:20 +00:00
kpatch-build: fix clean_cache
Commit d86c1113cc
("kpatch-build: less aggressive clean_cache()")
broke clean_cache(). Instead of expanding the wildcard, it tries to
delete a file named '*'.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
cd352cf8a8
commit
0655ca50b8
@ -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