mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
Remove key.store from default.properties as well
This commit is contained in:
parent
fb27ce69a0
commit
09c5c50993
1 changed files with 6 additions and 5 deletions
7
build.py
7
build.py
|
@ -202,10 +202,11 @@ for app in apps:
|
||||||
|
|
||||||
# If the app has ant set up to sign the release, we need to switch
|
# If the app has ant set up to sign the release, we need to switch
|
||||||
# that off, because we want the unsigned apk...
|
# that off, because we want the unsigned apk...
|
||||||
if os.path.exists(os.path.join(root_dir, 'build.properties')):
|
for propfile in ('build.properties', 'default.properties'):
|
||||||
|
if os.path.exists(os.path.join(root_dir, propfile)):
|
||||||
if subprocess.call(['sed','-i','s/^key.store/#/',
|
if subprocess.call(['sed','-i','s/^key.store/#/',
|
||||||
'build.properties'], cwd=root_dir) !=0:
|
propfile], cwd=root_dir) !=0:
|
||||||
print "Failed to amend build.properties"
|
print "Failed to amend %s" % propfile
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Update the local.properties file...
|
# Update the local.properties file...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue