diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-03-24 06:15:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:21 -0500 |
commit | 66f9f59a5bfcb9efc8acad5ff0ece02fdaca6817 (patch) | |
tree | 15e872b25c747dc96b639fd5ec65cc9b604528ac | |
parent | a4a6198b80cf82eb8160603c98da218d1bd5e104 (diff) |
[PATCH] extract-ikconfig: use mktemp(1)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rwxr-xr-x | scripts/extract-ikconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig index d9f9f34b22ab..ef6140dc2ded 100755 --- a/scripts/extract-ikconfig +++ b/scripts/extract-ikconfig | |||
@@ -45,7 +45,7 @@ then | |||
45 | exit 1 | 45 | exit 1 |
46 | fi | 46 | fi |
47 | 47 | ||
48 | TMPFILE="/tmp/ikconfig-$$" | 48 | TMPFILE=`mktemp -t ikconfig-XXXXXX` || exit 1 |
49 | image="$1" | 49 | image="$1" |
50 | 50 | ||
51 | # vmlinux: Attempt to dump the configuration from the file directly | 51 | # vmlinux: Attempt to dump the configuration from the file directly |