From 53223cbb4e775ce88c036ddbfcca260e23c5739e Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Tue, 2 Sep 2014 11:25:45 +0200 Subject: [PATCH] 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 Reviewed-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- support/scripts/check-kernel-headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.30.2