From: Alexey Dobriyan Date: Fri, 24 Mar 2006 11:15:55 +0000 (-0800) Subject: [PATCH] extract-ikconfig: use mktemp(1) X-Git-Tag: upstream/snapshot3+hdmi~42047 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66f9f59a5bfcb9efc8acad5ff0ece02fdaca6817;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [PATCH] extract-ikconfig: use mktemp(1) Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig index d9f9f34..ef6140d 100755 --- a/scripts/extract-ikconfig +++ b/scripts/extract-ikconfig @@ -45,7 +45,7 @@ then exit 1 fi -TMPFILE="/tmp/ikconfig-$$" +TMPFILE=`mktemp -t ikconfig-XXXXXX` || exit 1 image="$1" # vmlinux: Attempt to dump the configuration from the file directly