nixpkgs/pkgs/tools/networking/ferm/import-ferm-wrapped.patch
toinux 50f296c0af
ferm: Fix import-ferm error importing ferm wrapped script instead of perlFile (#310626)
Co-authored-by: Antoine 'Toinux' Lesieur <toinux@laptaupe.local>
2024-05-11 18:00:43 +02:00

15 lines
364 B
Diff

--- old/src/import-ferm
+++ new/src/import-ferm
@@ -42,9 +42,9 @@
# find the main "ferm" program
my $ferm;
if ($0 =~ /^(.*)\//) {
- $ferm = "$1/ferm";
+ $ferm = "$1/.ferm-wrapped";
} else {
- $ferm = 'ferm';
+ $ferm = '.ferm-wrapped';
}
# Perl 5.24 requires this prefix or else it will only look in @INC