From 9d82674c889a831418a792ba6505e57c8d4ca225 Mon Sep 17 00:00:00 2001 From: thdox Date: Sun, 8 Feb 2015 16:33:40 +0100 Subject: SC2086 Double quote to prevent globbing and word splitting. http://www.shellcheck.net/ [ci skip] --- tools/prepare-commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/prepare-commit-msg b/tools/prepare-commit-msg index 5045fe7a..585b5397 100755 --- a/tools/prepare-commit-msg +++ b/tools/prepare-commit-msg @@ -15,7 +15,7 @@ add_ci_skip () [ $? -eq 0 ] && return if [ $(git diff --cached --name-only | grep --count "$pattern") -eq 0 ]; then - tempfile=$(mktemp $0.XXXXXX) + tempfile=$(mktemp "$0".XXXXXX) cat - "$1" < "$tempfile" # It seems the changes to be committed are irrelevant for the continuous -- cgit v1.2.3