Red Hat Bugzilla – Bug 66443
find-requires detects wrong interpreter for awk
Last modified: 2008-05-01 11:38:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020608
Description of problem:
if an executable awk script begins with
line, find-requires condisders BEGIN as its interpreter name.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Contain an awk script that begins its first line with BEGIN block.
2. chmod +x it.
3. Package it.
Actual Results: find-requires detects the word BEGIN as an interpreter name.
Expected Results: BEGIN should not be detected because the script does not
begins with #! lne, it begins with BEGIN line though.
Of cource such script should not be chmod +x'ed, but find-requires should also
avoid considerering such files as executables, because these files does not
begins with #!.
to prevent find-requires/find-provides from
attempting to extract dependencies.