aboutsummaryrefslogtreecommitdiff
path: root/git-dch
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-10-19 09:53:13 +0200
committerGuido Guenther <agx@sigxcpu.org>2007-10-19 09:53:13 +0200
commit3156b9118d077a3d377bf64bc86cb3ab52e65f05 (patch)
treed2a007eec66a8aff8b710f5942f1462bd92ecec5 /git-dch
parentb4eeccec20f52d4118c97a698d23fa569e27799b (diff)
properly quote "" (Closes: #447211)
Diffstat (limited to 'git-dch')
-rwxr-xr-xgit-dch2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-dch b/git-dch
index c78702ec..b98ce378 100755
--- a/git-dch
+++ b/git-dch
@@ -57,7 +57,7 @@ def system(cmd):
def add_changelog_entry(msg, author):
"add aa single changelog entry"
- cmd = 'DEBFULLNAME="%s" dch --append -- "%s"' % (author, msg.replace('"','\"'))
+ cmd = """DEBFULLNAME="%s" dch --append -- "%s" """ % (author, msg.replace('"','\\\"'))
system(cmd)