diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index 36c645e7f..357d83c0a 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -130,7 +130,7 @@ function process_patch { if [ -e "${patchdir}/$1" ]; then echo "Warning: overwriting ${patchdir}/$1" fi - tmppatch="/tmp/scst-tmp-patch-$$" + tmppatch="$(/bin/mktemp)" ( specialize_patch ) >"${tmppatch}"