mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
Watch out for rogue log messages
This commit is contained in:
parent
f8dfe532e6
commit
73922c881d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue