Browse Source

fix grep for packages

keep-around/43e990ab3f4cc50982f8dbc32e3465ca7c827876
Joey Hess 19 years ago
parent
commit
5464b07eaf
  1. 3
      tasksel.pl

3
tasksel.pl

@ -152,7 +152,8 @@ sub task_packages {
}
else {
# external method
@list=grep package_avail, split "\n", `$packagesdir/$task->{packages} $task->{task}`;
print "$packagesdir/$task->{packages} $task->{task}\n";
@list=grep { package_avail($_) } split("\n", `$packagesdir/$task->{packages} $task->{task}`);
}
return @list;
}

Loading…
Cancel
Save