mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
xbps-src: disable file expansion in show_pkg_var
This commit is contained in:
parent
ab87177d3c
commit
9323056ac2
1 changed files with 2 additions and 0 deletions
|
@ -52,9 +52,11 @@ show_pkg_var() {
|
|||
_sep=" "
|
||||
fi
|
||||
if [ -n "$_always_split" ] || [[ "$_value" =~ $'\n' ]]; then
|
||||
set -f
|
||||
for i in ${_value}; do
|
||||
[ -n "$i" ] && echo "${_label}:${_sep}${i}"
|
||||
done
|
||||
set +f
|
||||
else
|
||||
echo "${_label}:${_sep}${_value}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue