Use env to find perl, for NetBSD (grr)

This commit is contained in:
rsc 2005-08-10 18:52:00 +00:00
parent b20b42b837
commit 17e9283bd8
2 changed files with 2 additions and 2 deletions

2
dist/addsrclinks vendored
View file

@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
@_ = <>; @_ = <>;
my $root = $ENV{'PLAN9'}; my $root = $ENV{'PLAN9'};

2
dist/fixurls vendored
View file

@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
open(OMIT, "9 sed -n 's/.*Omitman\\[\"(.*)\\((.)\\)\".*/\\1 \\2/p' $ENV{'PLAN9'}/dist/checkman.awk |") || die "omit: $!"; open(OMIT, "9 sed -n 's/.*Omitman\\[\"(.*)\\((.)\\)\".*/\\1 \\2/p' $ENV{'PLAN9'}/dist/checkman.awk |") || die "omit: $!";
@omit = <OMIT>; @omit = <OMIT>;