aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <patrickdepinguin@gmail.com>2014-09-02 11:25:45 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-09-28 20:40:57 +0200
commit53223cbb4e775ce88c036ddbfcca260e23c5739e (patch)
treed9f90b663c2059bbc1b4cac52e49c68f8c12532a /support
parent6f5bffc426f7418c555291450d482a0ceede0865 (diff)
downloadbuildroot-53223cbb4e775ce88c036ddbfcca260e23c5739e.tar.gz
buildroot-53223cbb4e775ce88c036ddbfcca260e23c5739e.tar.bz2
check-kernel-headers: mktemp --tmpdir not available on RedHat RHEL5
mktemp --tmpdir is not available on older Redhat RHEL5 machines. The alternative that has the same behavior is 'mktemp -t'. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/check-kernel-headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/check-kernel-headers.sh b/support/scripts/check-kernel-headers.sh
index 82cf9ac274..a8cca78b27 100755
--- a/support/scripts/check-kernel-headers.sh
+++ b/support/scripts/check-kernel-headers.sh
@@ -8,7 +8,7 @@ HDR_M="${HDR_VER%%.*}"
HDR_V="${HDR_VER#*.}"
HDR_m="${HDR_V%%.*}"
-EXEC="$(mktemp --tmpdir check-headers.XXXXXX)"
+EXEC="$(mktemp -t check-headers.XXXXXX)"
# We do not want to account for the patch-level, since headers are
# not supposed to change for different patchlevels, so we mask it out.