mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
script: redirecting stderr to stdout before pipelining into grep
Co-authored-by: Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
This commit is contained in:
parent
30df5c3dd4
commit
d8dfc403f7
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if test -z "$1"; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! sed --help | grep -q 'GNU'; then
|
||||
if ! sed --help 2>&1 | grep -q 'GNU'; then
|
||||
echo "Error: the installed sed package is not compatible. Please make sure you have GNU sed installed in your system.";
|
||||
exit 1;
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue