mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
Also strip project.properties of ant keysigning options
This commit is contained in:
parent
13c79e8e46
commit
9962074cf3
@ -1442,7 +1442,12 @@ def remove_signing_keys(build_dir):
|
||||
|
||||
logging.info("Cleaned build.gradle of keysigning configs at %s" % path)
|
||||
|
||||
for propfile in ('build.properties', 'default.properties', 'ant.properties'):
|
||||
for propfile in [
|
||||
'project.properties',
|
||||
'build.properties',
|
||||
'default.properties',
|
||||
'ant.properties',
|
||||
]:
|
||||
if propfile in files:
|
||||
path = os.path.join(root, propfile)
|
||||
|
||||
@ -1451,7 +1456,10 @@ def remove_signing_keys(build_dir):
|
||||
|
||||
with open(path, "w") as o:
|
||||
for line in lines:
|
||||
if not line.startswith('key.store'):
|
||||
if line.startswith('key.store'):
|
||||
continue
|
||||
if line.startswith('key.alias'):
|
||||
continue
|
||||
o.write(line)
|
||||
|
||||
logging.info("Cleaned %s of keysigning configs at %s" % (propfile,path))
|
||||
|
Loading…
Reference in New Issue
Block a user