Skip to content
Snippets Groups Projects
Commit dc7b96e9 authored by Lukas Fleischer's avatar Lukas Fleischer Committed by Pierre Schmitz
Browse files

commitpkg: Fix leading whitespace in commit messages


Commit c51cc8d3 erroneously introduced a
tab character that is prepended to the body of each commit message. Fix
this by using C-style newline escape sequences which will avoid further
whitespace issues caused by re-indentation of code at this point.

Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent cb25d509
No related branches found
No related tags found
No related merge requests found
...@@ -110,9 +110,7 @@ fi ...@@ -110,9 +110,7 @@ fi
if [ -n "$(svn status -q)" ]; then if [ -n "$(svn status -q)" ]; then
echo -n 'committing changes to trunk...' echo -n 'committing changes to trunk...'
msgtemplate="upgpkg: $pkgbase $(get_full_version ${epoch:-0} $pkgver $pkgrel) msgtemplate="upgpkg: $pkgbase $(get_full_version ${epoch:-0} $pkgver $pkgrel)"$'\n\n'
"
if [ -n "$1" ]; then if [ -n "$1" ]; then
svn commit -q -m "${msgtemplate}${1}" || abort svn commit -q -m "${msgtemplate}${1}" || abort
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment