summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@anongoth.pl>2017-05-17 21:57:57 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-04-16 22:19:07 +0000
commitf3bd97cb8985af7dec1be0917ab6703636ccf79e (patch)
tree05cd98c85f015c161aa5ae2f1c79effc9706730f /util
parent1b36c9de66eb91981983df21e7f3c05c19a15709 (diff)
downloadcoreboot-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')
-rwxr-xr-xutil/lint/lint2
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"