From c397f6f53af170598872ec4620f1356d8bbcdea7 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 10 Feb 2015 21:29:00 +0100 Subject: Improve quoting [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 585b5397..d2f927c0 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