diff options
author | Richard Yao <[email protected]> | 2022-10-11 15:32:07 -0400 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-12-01 12:39:41 -0800 |
commit | d05f247aece91500e5a1883e6fbdee66adde171f (patch) | |
tree | a774140afcd8bd6d24ab612bf7feb1ee682db9ea /lib | |
parent | fa74250cd379ab8564a6f4b8e6e254893de057c2 (diff) |
scripts/enum-extract.pl should not hard code perl path
This is a portability issue. The issue had already been fixed for
scripts/cstyle.pl by 2dbf1bf8296f66f24d5e404505c991bfbeec7808.
scripts/enum-extract.pl was added to the repository the following year
without this portability fix.
Michael Bishop informed me that this broke his attempt to build ZFS
2.1.6 on NixOS, since he was building manually outside of their package
manager (that usually rewrites the shebangs to NixOS' unusual paths).
NixOS puts all of the paths into $PATH, so scripts that portably rely
on env to find the interpreter still work.
Reviewed-by: Tino Reichardt <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #14012
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions