Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/enum-extract.pl should not hard code perl path #14012

Merged
merged 1 commit into from
Oct 11, 2022

Commits on Oct 10, 2022

  1. 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.
    
    Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
    ryao committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    6935e1b View commit details
    Browse the repository at this point in the history