Skip to content

Commit

Permalink
Fix rm: cannot remove 'CMakeFiles/': Is a directory
Browse files Browse the repository at this point in the history
fixes #3089
  • Loading branch information
Fak3 authored Dec 10, 2024
1 parent d0f93ca commit 1544339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythonforandroid/recipes/jpeg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1544339

Please sign in to comment.