SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,14 @@
Arrays can't be used as references since Perl 5.22.
Index: lib/Psh/Strategy/Executable.pm
--- lib/Psh/Strategy/Executable.pm.orig
+++ lib/Psh/Strategy/Executable.pm
@@ -24,7 +24,7 @@ sub runs_before {
}
sub applies {
- my $com= @{$_[2]}->[0];
+ my $com= ${$_[2]}[0];
my $executable= Psh::Util::which($com);
return $executable if defined $executable;
return '';