mirror of https://gitee.com/openkylin/libvirt.git
docs: Recommend better python3 shebang
Python scripts should always invoked the interpreter through env(1) to ensure that they work on macOS and the BSDs, and at this point not explicitly asking for Python 3 doesn't really make sense. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
91d890bdce
commit
5af19e530e
|
@ -78,7 +78,7 @@ or:
|
|||
|
||||
::
|
||||
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
Other command interpreters are equally valid, as is any executable binary, so
|
||||
you are welcome to use your favourite languages.
|
||||
|
|
Loading…
Reference in New Issue