diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-05-29 15:16:47 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-05-29 15:16:47 -0400 |
commit | 48a72c671eb9f7f8ec040f42bacfe62436e37ee1 (patch) | |
tree | 83d131979f456e96af555f8775d4f21fb2357635 | |
parent | 9adb283733962776a24565b5e2bf9bdfb135b968 (diff) | |
download | perl-48a72c671eb9f7f8ec040f42bacfe62436e37ee1.tar.gz |
Get rid of "grep empty(sub)expression" noise.
In OS X (and assumedly *BSD) Configure output starts with:
grep empty(sub)expression
apparently because plain 'grep' understands the 'os\(/\|\)2'
somewhat differently (BRE vs ERE, RTFM re_format(7))
Cure: redirect the stderr of grep to stdout (which is then promptly
redirected to /dev/null). The grep will still fail, and not take
the OS/2 (or DJGPP) branch.
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ esac : Proper separator for the PATH environment variable p_=: : On OS/2 this directory should exist if this is not floppy only system ":-]" -if test -d c:/. || ( uname -a | grep -i 'os\(/\|\)2' ) 2>&1 >/dev/null ; then +if test -d c:/. || ( uname -a | grep -i 'os\(/\|\)2' 2>&1 ) 2>&1 >/dev/null ; then if test -n "$OS2_SHELL"; then p_=\; PATH=`cmd /c "echo %PATH%" | tr '\\\\' / ` |