mirror of
https://github.com/dynup/kpatch
synced 2025-01-14 09:00:46 +00:00
Merge pull request #280 from jpoimboe/cache-rm-fix
kpatch-build: don't remove USERSRCDIR
This commit is contained in:
commit
26815a1ad9
@ -78,7 +78,8 @@ cleanup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
clean_cache() {
|
clean_cache() {
|
||||||
rm -rf "$SRCDIR" "$OBJDIR" "$OBJDIR2" "$VERSIONFILE"
|
[[ -z $USERSRCDIR ]] && rm -rf "$SRCDIR"
|
||||||
|
rm -rf "$OBJDIR" "$OBJDIR2" "$VERSIONFILE"
|
||||||
mkdir -p "$OBJDIR"
|
mkdir -p "$OBJDIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user