summaryrefslogtreecommitdiff
path: root/tools/prepare-commit-msg
diff options
context:
space:
mode:
Diffstat (limited to 'tools/prepare-commit-msg')
-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 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" <<EOF > "$tempfile"
# It seems the changes to be committed are irrelevant for the continuous