chiark / gitweb /
shutil.move() in apk_strip_signature() to work across filesystems
authorHans-Christoph Steiner <hans@eds.org>
Fri, 1 Dec 2017 13:08:42 +0000 (14:08 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 4 Dec 2017 21:52:41 +0000 (22:52 +0100)
commit2983c353615b8d0aa0d70ef616ec1507c617f646
tree4f50508777ec4a35013549cdbf93b784e06b8ff0
parentbf913703c5c41d025ccd10e17c53a2851124fd50
shutil.move() in apk_strip_signature() to work across filesystems

os.rename() only works if source and destination are on the same file
system, shutil.move() works across file systems.

OSError: [Errno 18] Invalid cross-device link: '/builds/eighthave/fdroidclient/app/build/outputs/apk/app-debug.apk' -> '/tmp/tmp966vh75f/tmp.apk'
fdroidserver/common.py