Skip to content

Commit 6d70472

Browse files
author
Bill Meek
committed
venv: add missing leading slash to help text
1 parent b757d94 commit 6d70472

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

roles/python/tasks/python-venv.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
- discovered_interpreter_python is undefined
1818
- ansible_facts["python.executable"] is defined
1919

20-
- fail:
20+
- name: "python-venv | Abort if a Python interpreter can't be found"
21+
fail:
2122
msg: "Python executable not found, aborting."
2223
failed_when: using_python_version is undefined
2324

@@ -37,10 +38,10 @@
3738
debug:
3839
msg: >-
3940
A Python Virtual Environment was created. Before building MythTV,
40-
do: export VIRTUAL_ENV={{ venv_path | expanduser }} first. Then
41+
do: export VIRTUAL_ENV=/{{ venv_path | expanduser }} first. Then
4142
run cmake or make as usual. Remember to change the shebang of any
4243
personal Python programs that import the MythTV module to:
43-
#!{{ venv_path | expanduser }}/bin/python
44+
#!/{{ venv_path | expanduser }}/bin/python
4445
when: not command_result.failed or
4546
(command_result.rc is defined and command_result.rc == 0)
4647

0 commit comments

Comments
 (0)