From 1eedbeba038f55e00a1e0da3fcb3db4faa39b5eb Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 1 Jul 2005 10:46:58 +0000 Subject: [PATCH] redirect test run of bash --rpm-requires to /dev/null --- scripts/shell.req.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shell.req.in b/scripts/shell.req.in index e28834d..d916f53 100755 --- a/scripts/shell.req.in +++ b/scripts/shell.req.in @@ -35,7 +35,7 @@ case "$(file -b "$file")" in esac # Make sure that this shell supports the rpm-requires feature. -$FIND_REQ /dev/null if ! reqs="$($FIND_REQ "$file" 2>/dev/null)"; then if egrep -vs '^(#|$)' "$file" 2>/dev/null |head -1 |grep -qs '^[ ]*exec '; then