opnsense-ports/net/ldapsdk/files/patch-ldap_build_replace.pm
Franco Fichtner d3b0f80645 */*: sync with upstream
Taken from: HardenedBSD
2018-03-29 04:01:47 +02:00

11 lines
410 B
Raku

--- ldap/build/replace.pm.orig 2011-01-06 12:05:39 UTC
+++ ldap/build/replace.pm
@@ -62,7 +62,7 @@ sub GenerateHeader ($$\%) {
while(<TEMPLATE>) {
my $line = $_;
while(($orig, $replace) = each %$keywords) {
- $line =~ s/{{$orig}}/$replace/g;
+ $line =~ s/\{\{$orig}}/$replace/g;
}
# the first line is a comment specific to the template file, which we