1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Watch out for rogue log messages

This commit is contained in:
Ciaran Gultnieks 2013-05-15 16:03:09 +01:00
parent f8dfe532e6
commit 73922c881d

View File

@ -289,7 +289,7 @@ def main():
if subprocess.call("git add " + metafile, shell=True) != 0:
print "Git add failed"
sys.exit(1)
if subprocess.call('git commit -m \"' + logmsg + '\"', shell=True) != 0:
if subprocess.call("git commit -m '" + logmsg.replace("'", "\\'") + "'", shell=True) != 0:
print "Git commit failed"
sys.exit(1)