From f3bd97cb8985af7dec1be0917ab6703636ccf79e Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 17 May 2017 21:57:57 +0200 Subject: [PATCH] util/lint: Fix execution on OpenBSD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/19745 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Philipp Deppenwiese --- util/lint/lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"