mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-01-04 21:30:17 +01:00
tests: make mktemp command call work with Chimera Linux's mktemp
On Chimera Linux, which uses FreeBSD's userland tools, the original call fails with the following error: mktemp: mkstemp failed on /tmp/libfprint-XXXXXX.hwdb: Invalid argument Moving the X's to the end of the template passed to `mktemp` fixes the error, and also works with GNU's `mktemp`.
This commit is contained in:
parent
d3ec9a80d3
commit
1701d72ff9
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ if [ ! -x "$UDEV_HWDB" ]; then
|
|||
fi
|
||||
|
||||
if [ "$UDEV_HWDB_CHECK_CONTENTS" = 1 ]; then
|
||||
generated_rules=$(mktemp "${TMPDIR:-/tmp}/libfprint-XXXXXX.hwdb")
|
||||
generated_rules=$(mktemp "${TMPDIR:-/tmp}/libfprint.hwdb.XXXXXX")
|
||||
else
|
||||
generated_rules=/dev/null
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue