From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041228 Firefox/1.0 Fedora/1.0-8 Description of problem: check-prereqs has a shell script error in it. Version-Release number of selected component (if applicable): rpm-build-4.3.3-8 How reproducible: Always Steps to Reproduce: 1. sh -n /usr/lib/rpm/check-prereqs Actual Results: /usr/lib/rpm/check-prereqs: line 15: unexpected EOF while looking for matching ``' /usr/lib/rpm/check-prereqs: line 18: syntax error: unexpected end of file Expected Results: No problems reported. Additional info: The problem comes from line 8: prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//'`" -e 's/^executable(//' -e 's/)$//'`" I'm wondering if the ` & " in the second sed statement is supposed to be there. Maybe it should be: prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//' -e 's/^executable(//' -e 's/)$//'`"
Fixed in rpm-4_4 cvs, should be in rpm-4.4.3-0.5 when built.