diff options
author | Piotr Kubaj <pkubaj@anongoth.pl> | 2017-05-17 21:57:57 +0200 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-04-16 22:19:07 +0000 |
commit | f3bd97cb8985af7dec1be0917ab6703636ccf79e (patch) | |
tree | 05cd98c85f015c161aa5ae2f1c79effc9706730f /util/lint | |
parent | 1b36c9de66eb91981983df21e7f3c05c19a15709 (diff) | |
download | coreboot-f3bd97cb8985af7dec1be0917ab6703636ccf79e.tar.xz |
util/lint: Fix execution on OpenBSD
util/lint/lint creates a file using mktemp.
mktemp on OpenBSD requires at least 6 X's, while only 5 are in the template.
Change-Id: I0b80214dd83d21e12e16a5002c68127a7ca2e41b
Signed-off-by: Piotr Kubaj <pkubaj@anongoth.pl>
Reviewed-on: https://review.coreboot.org/19745
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'util/lint')
-rwxr-xr-x | util/lint/lint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint b/util/lint/lint index 0cbe0109e0..253a6e6ec4 100755 --- a/util/lint/lint +++ b/util/lint/lint @@ -31,7 +31,7 @@ if [ -z "$1" ] || [ "$1" != "lint" ] && [ "$1" != "lint-stable" ] && \ exit 1 fi -LINTLOG=$(mktemp .tmpconfig.lintXXXXX); +LINTLOG=$(mktemp .tmpconfig.lintXXXXXX); XMLFILE="$(dirname "$0")/junit.xml" if [ "$1" = "lint-extended" ]; then XMLFILE="$(dirname "$0")/extended-junit.xml" |