diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-07-25 19:13:26 +0200 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-07-25 19:13:26 +0200 |
commit | a872f748481d44baa8bc0f6eb29659782c96ba7f (patch) | |
tree | bcd61670a12dcba4404158768ecf6e3d347841cd /Configure | |
parent | 22636a294deeffb346cc852d77d2b3b68a7615c9 (diff) | |
download | perl-a872f748481d44baa8bc0f6eb29659782c96ba7f.tar.gz |
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.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |