From cf375a6962163deb4f1528f546467bc8af8a40c3 Mon Sep 17 00:00:00 2001 From: "Kwabena W. Agyeman" Date: Mon, 25 Nov 2024 13:58:50 -0800 Subject: [PATCH] make: File makedirs. --- make.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/make.py b/make.py index 4dc70a1..d5688c1 100755 --- a/make.py +++ b/make.py @@ -337,8 +337,7 @@ def make(): installer_name = "openmv-ide-linux-arm64-" + ideversion + ".tar.gz" if args.factory: installer_name = installer_name.replace("openmv", "openmv-factory") if not args.no_build_application: - if not os.path.exists(os.path.join(installdir, "lib/Qt/lib")): - os.mkdir(os.path.join(installdir, "lib/Qt/lib")) + os.makedirs(os.path.join(installdir, "lib/Qt/lib"), exist_ok=True) if os.system("cd " + builddir + " && wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu67_67.1-7_arm64.deb" " && dpkg-deb -x libicu67_67.1-7_arm64.deb icu67"