mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
publish: strict regex replacement for .binary.apk
. matches anything \. matches the char "."
This commit is contained in:
parent
68fb3d2bd9
commit
58b81b5ca6
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ def main():
|
||||||
# The binary should already have been retrieved during the build
|
# The binary should already have been retrieved during the build
|
||||||
# process.
|
# process.
|
||||||
|
|
||||||
srcapk = re.sub(r'.apk$', '.binary.apk', apkfile)
|
srcapk = re.sub(r'\.apk$', '.binary.apk', apkfile)
|
||||||
srcapk = srcapk.replace(unsigned_dir, binaries_dir)
|
srcapk = srcapk.replace(unsigned_dir, binaries_dir)
|
||||||
|
|
||||||
if not os.path.isfile(srcapk):
|
if not os.path.isfile(srcapk):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue