From: Alexey Dobriyan Date: Fri, 24 Mar 2006 11:15:55 +0000 (-0800) Subject: [PATCH] extract-ikconfig: use mktemp(1) X-Git-Tag: v2.6.17-rc1~936 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66f9f59a5bfcb9efc8acad5ff0ece02fdaca6817;p=linux-2.6 [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 d9f9f34b22..ef6140dc2d 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