aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorBart De Vries <bart@mogwai.be>2021-05-23 22:07:51 +0200
committerBart De Vries <bart@mogwai.be>2021-05-23 22:07:51 +0200
commit1312c40ca85e2e5bab6781897b4224cfd04f805a (patch)
tree1b52f794014298e752a6a16f705a6baf6f46bcff /toolchain
parenta0deb0358d07de8b68a41a8270b3386482fa7525 (diff)
downloadextra-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-xtoolchain/generate-fastlane-metadata.py1
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