summaryrefslogtreecommitdiff
path: root/commitpkg
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-15 09:47:16 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-08-15 17:01:31 +0200
commitdc7b96e9179762260b8bafac74d22a65b729f260 (patch)
treec978d88511d5539814c970bbb4baa066bec4f465 /commitpkg
parentcb25d50913b60ed6619af3e6455692c91c2a0df5 (diff)
downloaddevtools-dc7b96e9179762260b8bafac74d22a65b729f260.tar.xz
commitpkg: Fix leading whitespace in commit messages
Commit c51cc8d365fad3be529776e9dce34ac115664451 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: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg4
1 files changed, 1 insertions, 3 deletions
diff --git a/commitpkg b/commitpkg
index 4d5054b..bdc1fd6 100755
--- a/commitpkg
+++ b/commitpkg
@@ -110,9 +110,7 @@ fi
if [ -n "$(svn status -q)" ]; then
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
svn commit -q -m "${msgtemplate}${1}" || abort
else