mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Fix sed typo that broke forceversion and forcevercode
This commit is contained in:
parent
7c5be575c6
commit
22a02a02c4
1 changed files with 2 additions and 2 deletions
|
|
@ -1503,7 +1503,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, sdk_path,
|
|||
if not os.path.isfile(path):
|
||||
continue
|
||||
if subprocess.call(['sed','-i',
|
||||
's/android:versionName="[^"]+"/android:versionName="' + build['version'] + '"/g',
|
||||
's/android:versionName="[^"]*"/android:versionName="' + build['version'] + '"/g',
|
||||
path]) != 0:
|
||||
raise BuildException("Failed to amend manifest")
|
||||
if 'forcevercode' in build:
|
||||
|
|
@ -1512,7 +1512,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, sdk_path,
|
|||
if not os.path.isfile(path):
|
||||
continue
|
||||
if subprocess.call(['sed','-i',
|
||||
's/android:versionCode="[^"]+"/android:versionCode="' + build['vercode'] + '"/g',
|
||||
's/android:versionCode="[^"]*"/android:versionCode="' + build['vercode'] + '"/g',
|
||||
path]) != 0:
|
||||
raise BuildException("Failed to amend manifest")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue