1
0
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:
Hans-Christoph Steiner 2018-07-12 23:44:03 +02:00
parent 68fb3d2bd9
commit 58b81b5ca6

View File

@ -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):