Skip to content

Commit 1544339

Browse files
authored
Fix rm: cannot remove 'CMakeFiles/': Is a directory
fixes #3089
1 parent d0f93ca commit 1544339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/jpeg/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def build_arch(self, arch):
2727
toolchain_file = join(self.ctx.ndk_dir,
2828
'build/cmake/android.toolchain.cmake')
2929

30-
shprint(sh.rm, '-f', 'CMakeCache.txt', 'CMakeFiles/')
30+
shprint(sh.rm, '-rf', 'CMakeCache.txt', 'CMakeFiles/')
3131
shprint(sh.cmake, '-G', 'Unix Makefiles',
3232
'-DCMAKE_SYSTEM_NAME=Android',
3333
'-DCMAKE_POSITION_INDEPENDENT_CODE=1',

0 commit comments

Comments
 (0)