8000 Fixed sed call to work on both osx and linux · germn/python-for-android@f2896af · GitHub
[go: up one dir, main page]

Skip to content

Commit f2896af

Browse files
committed
Fixed sed call to work on both osx and linux
1 parent 9c30fd7 commit f2896af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/python2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def do_python_build(self, arch):
9797
openssl_build_dir = r.get_build_dir(arch.arch)
9898
setuplocal = join('Modules', 'Setup.local')
9999
shprint(sh.cp, join(self.get_recipe_dir(), 'Setup.local-ssl'), setuplocal)
100-
shprint(sh.sed, '-i', 's#^SSL=.*#SSL={}#'.format(openssl_build_dir), setuplocal)
100+
shprint(sh.sed, '-i.backup', 's#^SSL=.*#SSL={}#'.format(openssl_build_dir), setuplocal)
101101
env['OPENSSL_VERSION'] = r.version
102102

103103
if 'sqlite3' in self.ctx.recipe_build_order:

0 commit comments

Comments
 (0)
0