In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/a872f748481d44baa8bc0f6eb29659782c96ba7f?hp=22636a294deeffb346cc852d77d2b3b68a7615c9>
- Log ----------------------------------------------------------------- commit a872f748481d44baa8bc0f6eb29659782c96ba7f Author: Brian Fraser <[email protected]> Date: Fri Jul 25 19:13:26 2014 +0200 Configure: 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. ----------------------------------------------------------------------- Summary of changes: Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configure b/Configure index a267266..8d802fd 100755 --- a/Configure +++ b/Configure @@ -2521,7 +2521,7 @@ egrep) esac 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 Master Repository
