Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 2dbf1bf. 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
- Loading branch information