mirror of
https://github.com/dynup/kpatch
synced 2025-01-11 07:39:24 +00:00
Merge pull request #131 from jpoimboe/tmpdir-name
kpatch-build: put kpatch-build in the tmp dir name
This commit is contained in:
commit
3775692aa0
@ -146,7 +146,7 @@ if [[ "$PATCHNAME" =~ \.patch ]] || [[ "$PATCHNAME" =~ \.diff ]]; then
|
||||
PATCHNAME="${PATCHNAME%.*}"
|
||||
fi
|
||||
|
||||
TEMPDIR="$(mktemp -d)" || die "mktemp failed"
|
||||
TEMPDIR="$(mktemp -d /tmp/kpatch-build-XXXXXX)" || die "mktemp failed"
|
||||
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user