diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/prepare-commit-msg | 2 |
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 |