summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-10 21:29:00 +0100
committerthdox <thdox@free.fr>2015-02-10 21:29:00 +0100
commitc397f6f53af170598872ec4620f1356d8bbcdea7 (patch)
treebca90231f938601da1a8095190a3c5ff30921e22 /tools
parent9d82674c889a831418a792ba6505e57c8d4ca225 (diff)
downloadfork-ledger-c397f6f53af170598872ec4620f1356d8bbcdea7.tar.gz
fork-ledger-c397f6f53af170598872ec4620f1356d8bbcdea7.tar.bz2
fork-ledger-c397f6f53af170598872ec4620f1356d8bbcdea7.zip
Improve quoting
[ci skip]
Diffstat (limited to 'tools')
-rwxr-xr-xtools/prepare-commit-msg2
1 files changed, 1 insertions, 1 deletions
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" <<EOF > "$tempfile"
# It seems the changes to be committed are irrelevant for the continuous