In metaconfig.git, the branch master has been updated

<http://perl5.git.perl.org/metaconfig.git/commitdiff/a6036f3e63f6894f586d87d13db4f87e6da29f72?hp=7449eea28479814e043ee3bca8ca075ef9ee1385>

- Log -----------------------------------------------------------------
commit a6036f3e63f6894f586d87d13db4f87e6da29f72
Author: H.Merijn Brand - Tux <[email protected]>
Date:   Sat Jul 26 17:12:28 2014 +0200

    Discard errors when testing for less -R
    
    When we try replacing 'less' with 'less -R', it's possible
    that less will output errors if the option is not supported;
    this happens, for example, in busybox's less.
    
    Backport of a872f748481d44baa8bc0f6eb29659782c96ba7f
    Author: Brian Fraser <[email protected]>  2014-07-25 19:13:26
-----------------------------------------------------------------------

Summary of changes:
 U/modified/Loc.U | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/U/modified/Loc.U b/U/modified/Loc.U
index 96a9830..0055b4d 100644
--- a/U/modified/Loc.U
+++ b/U/modified/Loc.U
@@ -300,7 +300,7 @@ esac
 @if less
 case "$less" in
 '')    ;;
-*)     if $less -R </dev/null >/dev/null; then
+*)     if $less -R </dev/null >/dev/null 2>&1; then
               echo "Substituting less -R for less."
               less="$less -R"
               _less=$less

--
perl5 metaconfig repository

Reply via email to