redirect test run of bash --rpm-requires to /dev/null

This commit is contained in:
Дмитрий Левин 2005-07-01 10:46:58 +00:00
parent 6d1f8f98b8
commit 1eedbeba03

View File

@ -35,7 +35,7 @@ case "$(file -b "$file")" in
esac
# Make sure that this shell supports the rpm-requires feature.
$FIND_REQ </dev/null
$FIND_REQ </dev/null >/dev/null
if ! reqs="$($FIND_REQ "$file" 2>/dev/null)"; then
if egrep -vs '^(#|$)' "$file" 2>/dev/null |head -1 |grep -qs '^[ ]*exec '; then