redirect test run of bash --rpm-requires to /dev/null
This commit is contained in:
parent
6d1f8f98b8
commit
1eedbeba03
@ -35,7 +35,7 @@ case "$(file -b "$file")" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Make sure that this shell supports the rpm-requires feature.
|
# 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 ! reqs="$($FIND_REQ "$file" 2>/dev/null)"; then
|
||||||
if egrep -vs '^(#|$)' "$file" 2>/dev/null |head -1 |grep -qs '^[ ]*exec '; then
|
if egrep -vs '^(#|$)' "$file" 2>/dev/null |head -1 |grep -qs '^[ ]*exec '; then
|
||||||
|
Loading…
Reference in New Issue
Block a user