mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Watch out for rogue log messages
This commit is contained in:
parent
f8dfe532e6
commit
73922c881d
@ -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…
Reference in New Issue
Block a user