Skip to content

Commit

Permalink
Fix export syntax on generated jep script (#384)
Browse files Browse the repository at this point in the history
This PR fixes shell syntax of the generated `jep` binary.

Shell does not like blanks around the "=".  Also, it seems appropriate
to quote the path in case of paths with blanks.

Fixes #383.
See also #382.
  • Loading branch information
seletz authored Mar 11, 2022
1 parent ba3abe9 commit 1239672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def copy_scripts(self):
if is_osx():
# OS X is setting sys.executable to java which is preventing it from finding site-packages in a venv
# setting PYTHONEXECUTABLE overrides sys.executable and helps find site-packages
context['pythonexecutable'] = 'export PYTHONEXECUTABLE = %s' % sys.executable
context['pythonexecutable'] = 'export PYTHONEXECUTABLE="%s"' % sys.executable


if not is_osx() and not is_windows():
Expand Down

0 comments on commit 1239672

Please sign in to comment.