1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

No quotes in --commit messages

This commit is contained in:
Daniel Martí 2013-11-01 11:05:41 +01:00
parent 0ac058c244
commit 1d88ba5450

View File

@ -447,7 +447,7 @@ def main():
if options.commit and logmsg:
print "Commiting update for " + metafile
if subprocess.call(["git", "commit", "-m",
"'"+logmsg.replace("'", "\\'")+"'", "--", metafile]) != 0:
logmsg, "--", metafile]) != 0:
print "Git commit failed"
sys.exit(1)