diff options
author | Bart De Vries <bart@mogwai.be> | 2021-05-23 22:07:51 +0200 |
---|---|---|
committer | Bart De Vries <bart@mogwai.be> | 2021-05-23 22:07:51 +0200 |
commit | 1312c40ca85e2e5bab6781897b4224cfd04f805a (patch) | |
tree | 1b52f794014298e752a6a16f705a6baf6f46bcff /toolchain | |
parent | a0deb0358d07de8b68a41a8270b3386482fa7525 (diff) | |
download | extra-cmake-modules-1312c40ca85e2e5bab6781897b4224cfd04f805a.tar.gz extra-cmake-modules-1312c40ca85e2e5bab6781897b4224cfd04f805a.tar.bz2 |
Make sure that dir path exists before attempting to copy file
Diffstat (limited to 'toolchain')
-rwxr-xr-x | toolchain/generate-fastlane-metadata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/generate-fastlane-metadata.py b/toolchain/generate-fastlane-metadata.py index ef59a278..ceb5f2c5 100755 --- a/toolchain/generate-fastlane-metadata.py +++ b/toolchain/generate-fastlane-metadata.py @@ -229,6 +229,7 @@ def findIcon(applicationName, iconBaseName): iconFiles = glob.glob(f"**/{iconBaseName}-playstore.png", recursive=True) for icon in iconFiles: + os.makedirs(os.path.dirname(iconPath), exist_ok=True) shutil.copy(icon, iconPath) break |