support/check-kernel-headers: use mktemp instead of hand-crafted temp file
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 6 Apr 2014 14:59:28 +0000 (16:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Apr 2014 15:12:04 +0000 (17:12 +0200)
commit78b862186555bf82e0744e2890cb3c732af59e5c
tree0253385522e204b37eeaaa8f1aa1eb31fb4d2940
parentc8adf619dc9eef468a25694def2ae6c89f415bc8
support/check-kernel-headers: use mktemp instead of hand-crafted temp file

Instead of creating a temporary files with a dubious scheme, use mktemp,
which purpose is exactly that: creating temporary files

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/check-kernel-headers.sh