File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ sub package_deps {
149149
150150 if ( !exists $package_dep_cache {$cache_key } ) {
151151 my @dependencies =
152- qx/ equery -C -q g --depth=$depth $package / ; # depth=0 it's all
152+ qx/ equery -C -q g --depth=$depth ' $package ' / ; # depth=0 it's all
153153 chomp @dependencies ;
154154
155155# If an unversioned atom is given, equery returns results for all versions in the portage tree
@@ -245,12 +245,7 @@ sub abs_atom { atom; s/^(\<|\>|=)+// }
245245# Same again as a function
246246sub to_atom { my $p = shift ; local $_ = $p ; atom; return $_ ; }
247247
248- sub to_abs_atom {
249- my $p = shift ;
250- $p = to_atom($p );
251- $p =~ s / ^(\< |\> |=)+// ;
252- return $p ;
253- }
248+ sub to_abs_atom { my $p = shift ; local $_ = $p ; abs_atom; return $_ ; }
254249
255250# Input: Array
256251# Output: array with unique elements
You can’t perform that action at this time.
0 commit comments