Skip to content

Commit b0b0b54

Browse files
committed
fix current dir
1 parent e1701a2 commit b0b0b54

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pythonforandroid/recipes/hostpython3/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,11 @@ def build_arch(self, arch):
189189
)
190190

191191
shprint(sh.make, '-j', str(cpu_count()), '-C', build_dir, _env=env)
192+
193+
with current_directory(build_dir):
192194
shprint(sh.make, 'install', _env=env)
195+
196+
with current_directory(recipe_build_dir):
193197
# make a copy of the python executable giving it the name we want,
194198
# because we got different python's executable names depending on
195199
# the fs being case-insensitive (Mac OS X, Cygwin...) or

0 commit comments

Comments
 (0)