From 1544339b89f519392f51aa9a33bf570963aeec59 Mon Sep 17 00:00:00 2001 From: Evstifeev Roman Date: Wed, 11 Dec 2024 00:34:14 +0500 Subject: [PATCH] Fix rm: cannot remove 'CMakeFiles/': Is a directory fixes #3089 --- pythonforandroid/recipes/jpeg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/recipes/jpeg/__init__.py b/pythonforandroid/recipes/jpeg/__init__.py index a81b82555c..436dc129ba 100644 --- a/pythonforandroid/recipes/jpeg/__init__.py +++ b/pythonforandroid/recipes/jpeg/__init__.py @@ -27,7 +27,7 @@ def build_arch(self, arch): toolchain_file = join(self.ctx.ndk_dir, 'build/cmake/android.toolchain.cmake') - shprint(sh.rm, '-f', 'CMakeCache.txt', 'CMakeFiles/') + shprint(sh.rm, '-rf', 'CMakeCache.txt', 'CMakeFiles/') shprint(sh.cmake, '-G', 'Unix Makefiles', '-DCMAKE_SYSTEM_NAME=Android', '-DCMAKE_POSITION_INDEPENDENT_CODE=1',