Skip to content

Commit 11b73f9

Browse files
authored
Merge pull request #3090 from Fak3/patch-1
Fix rm: cannot remove 'CMakeFiles/': Is a directory
2 parents d0f93ca + 1544339 commit 11b73f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)