mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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>
This commit is contained in:
parent
6f5bffc426
commit
53223cbb4e
@ -8,7 +8,7 @@ HDR_M="${HDR_VER%%.*}"
|
|||||||
HDR_V="${HDR_VER#*.}"
|
HDR_V="${HDR_VER#*.}"
|
||||||
HDR_m="${HDR_V%%.*}"
|
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
|
# 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.
|
# not supposed to change for different patchlevels, so we mask it out.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user