From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> Reported by shellcheck(1). Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- tools/check-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-syntax b/tools/check-syntax index 2115a79..d09a3dd 100755 --- a/tools/check-syntax +++ b/tools/check-syntax @@ -112,7 +112,7 @@ function style_fix() { [[ -z "$1" ]] && return [[ -z "$2" || ! -w "$2" ]] && return - tmp="$(mktemp --tmpdir=$(dirname "$2"))" + tmp="$(mktemp --tmpdir="$(dirname "$2")")" case "$1" in c|C) tool_c_style "$2" > "$tmp" -- 2.45.2