zfs/cmd
Ryan Moeller 088f97b921 Canonicalize Python shebangs
/usr/bin/env python3 is the suggested[1] shebang for Python in general
(likewise for python2) and is conventional across platforms. This eases
development on systems where python is not installed in /usr/bin
(FreeBSD for example) and makes it possible to develop in virtual
environments (venv) for isolating dependencies.

Many packaging guidelines discourage the use of /usr/bin/env, but since
this is the canonical way of writing shebangs in the Python community,
many packaging scripts are already equipped to handle substituting the
appropriate absolute path to python automatically.

Some RPM package builders lacking brp-mangle-shebangs need a small
fallback mechanism in the package spec to stamp the appropriate shebang
on installed Python scripts.

[1]: https://docs.python.org/3/using/unix.html?#miscellaneous

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9314
2020-01-22 13:49:00 -08:00
..
arc_summary Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
arcstat Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
dbufstat Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
fsck_zfs Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
mount_zfs Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
raidz_test Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
vdev_id Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zdb Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zed Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zfs Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zinject Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zpool Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zstreamdump Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
ztest Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zvol_id Fedora 28: Fix misc bounds check compiler warnings 2018-04-04 10:16:47 -07:00
zvol_wait zvol_wait script should ignore partially received zvols 2019-09-25 11:27:51 -07:00
Makefile.am New service that waits on zvol links to be created 2019-09-25 11:27:51 -07:00