git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0199047
)
perl: Fix another place where qw() was used as parentheses.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 27 Jul 2011 14:43:12 +0000
(15:43 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 27 Jul 2011 14:56:18 +0000
(15:56 +0100)
This is a fix for Perl 5.14.
See previous commit
5c3c7e8825341e18c9449976f8a321a04cc78d79
.
(cherry picked from commit
c70532ab4b3d977ed7484e473107808b22d90a2a
)
perl/lib/Sys/Guestfs/Lib.pm
patch
|
blob
|
history
diff --git
a/perl/lib/Sys/Guestfs/Lib.pm
b/perl/lib/Sys/Guestfs/Lib.pm
index
4f094de
..
fc6a10f
100644
(file)
--- a/
perl/lib/Sys/Guestfs/Lib.pm
+++ b/
perl/lib/Sys/Guestfs/Lib.pm
@@
-1339,10
+1339,10
@@
sub _find_modprobe_aliases
my %modprobe_aliases;
- for my $pattern qw(/files/etc/conf.modules/alias
- /files/etc/modules.conf/alias
- /files/etc/modprobe.conf/alias
-
/files/etc/modprobe.d/*/alias
) {
+ for my $pattern
(
qw(/files/etc/conf.modules/alias
+
/files/etc/modules.conf/alias
+
/files/etc/modprobe.conf/alias
+
/files/etc/modprobe.d/*/alias)
) {
for my $path ( $g->aug_match($pattern) ) {
$path =~ m{^/files(.*)/alias(?:\[\d*\])?$}
or die __x("{path} doesn't match augeas pattern",