Bug fix: made sure that nested invocations of process_patch() do not overwrite each others output.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-10-06 17:50:50 +00:00
parent 56b82883b1
commit b5c8cdb121
+1 -1
View File
@@ -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}"