Change invocation style for find-debuginfo.sh

Using eval affects command line parsing in the shell script.  Call the
script directly, but do not quote $find_debuginfo_args, to splice its
contents into the argument list.
This commit is contained in:
Florian Weimer 2017-08-16 13:30:01 +02:00
parent 91ff01f7d2
commit 53dc95aa44
1 changed files with 1 additions and 3 deletions

View File

@ -1741,9 +1741,7 @@ find_debuginfo_args="$find_debuginfo_args \
-l nosegneg.filelist"
%endif
%endif
eval /usr/lib/rpm/find-debuginfo.sh \
"$find_debuginfo_args" \
-o debuginfo.filelist
/usr/lib/rpm/find-debuginfo.sh $find_debuginfo_args -o debuginfo.filelist
# List all of the *.a archives in the debug directory.
list_debug_archives()