mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
publish: strict regex replacement for .binary.apk
. matches anything \. matches the char "."
This commit is contained in:
parent
68fb3d2bd9
commit
58b81b5ca6
@ -236,7 +236,7 @@ def main():
|
||||
# The binary should already have been retrieved during the build
|
||||
# process.
|
||||
|
||||
srcapk = re.sub(r'.apk$', '.binary.apk', apkfile)
|
||||
srcapk = re.sub(r'\.apk$', '.binary.apk', apkfile)
|
||||
srcapk = srcapk.replace(unsigned_dir, binaries_dir)
|
||||
|
||||
if not os.path.isfile(srcapk):
|
||||
|
Loading…
Reference in New Issue
Block a user