summaryrefslogtreecommitdiff
path: root/system/attr/test-runner-perl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/attr/test-runner-perl.patch')
-rw-r--r--system/attr/test-runner-perl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/attr/test-runner-perl.patch b/system/attr/test-runner-perl.patch
new file mode 100644
index 000000000..67e117034
--- /dev/null
+++ b/system/attr/test-runner-perl.patch
@@ -0,0 +1,11 @@
+--- attr-2.4.47/test/run.old 2013-05-19 04:53:54.000000000 +0000
++++ attr-2.4.47/test/run 2017-07-01 22:43:09.541515814 +0000
+@@ -84,7 +84,7 @@
+ if (defined $line) {
+ # Substitute %VAR and %{VAR} with environment variables.
+ $line =~ s[%(\w+)][$ENV{$1}]eg;
+- $line =~ s[%{(\w+)}][$ENV{$1}]eg;
++ $line =~ s[%\{(\w+)\}][$ENV{$1}]eg;
+ }
+ if (defined $line) {
+ if ($line =~ s/^\s*< ?//) {