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 9df65054b7
commit fce95492bd

View File

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