makemaker-defaults.mk: fallback COMPONENT_PROJECT_URL to dist
[oi-userland.git] / components / developer / pkgtree / patches / no-pager.patch
blob1ae3da54f26f373f4931d56dc14f156fb5f9c347
1 --- pkgtree-1.1/bin/pkgtree.orig
2 +++ pkgtree-1.1/bin/pkgtree
3 @@ -146,7 +146,6 @@
4 delete $args{'cache-file'};
5 delete $args{'force-cache'};
6 delete $args{'no-cache'};
7 -delete $args{'no-pager'};
8 delete $args{'no-colour'};
10 my @output;
11 @@ -171,7 +170,7 @@
12 # If STDOUT is connected to a terminal and --no-pager was not specified
13 # then send the result to the pager
15 -if (-t STDOUT and !$args{'--no-pager'}) {
16 +if (-t STDOUT and !$args{'no-pager'}) {
17 my $pager = $ENV{PAGER} || 'less';