Skip to content

Commit

Permalink
Merge pull request #3090 from Fak3/patch-1
Browse files Browse the repository at this point in the history
Fix rm: cannot remove 'CMakeFiles/': Is a directory
  • Loading branch information
AndreMiras authored Dec 10, 2024
2 parents d0f93ca + 1544339 commit 11b73f9
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 11b73f9

Please sign in to comment.