aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-10-04 08:10:31 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-10-04 08:14:00 +0200
commit8f6713833256ebd299f20c9634262009fafee359 (patch)
tree827cda795b973782b065901a5af0d7d95d3d58e4
parentb4bd0c408e113ab07eceb9ce56ff9c670950cefb (diff)
downloadiurt-8f6713833256ebd299f20c9634262009fafee359.tar
iurt-8f6713833256ebd299f20c9634262009fafee359.tar.gz
iurt-8f6713833256ebd299f20c9634262009fafee359.tar.bz2
iurt-8f6713833256ebd299f20c9634262009fafee359.tar.xz
iurt-8f6713833256ebd299f20c9634262009fafee359.zip
simplify
-rwxr-xr-xiurt2
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt b/iurt
index f05c2c6..d52ee6f 100755
--- a/iurt
+++ b/iurt
@@ -1112,7 +1112,7 @@ sub check_media {
my $name = $pkg->name;
$provides->{$pkg->fullname} = 1;
foreach ($pkg->provides) {
- if ($_ =~ /([^[]+)(?:\[(.*)\])?/g) {
+ if (/([^[]+)(?:\[(.*)\])?/g) {
$provides->{$1} = $2 || 1;
}
}