mirror of
https://github.com/dynup/kpatch
synced 2025-01-13 16:40: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() {
|
||||
rm -rf "$SRCDIR" "$OBJDIR" "$OBJDIR2" "$VERSIONFILE"
|
||||
[[ -z $USERSRCDIR ]] && rm -rf "$SRCDIR"
|
||||
rm -rf "$OBJDIR" "$OBJDIR2" "$VERSIONFILE"
|
||||
mkdir -p "$OBJDIR"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user