shutils/bulk.sh: remove newlines from package list
This commit is contained in:
parent
23d1109fff
commit
61a501a104
|
@ -115,6 +115,6 @@ bulk_update() {
|
|||
if [ -n "$pkgs" -a -n "$args" ]; then
|
||||
echo
|
||||
msg_normal "xbps-src: updating your system, confirm to proceed...\n"
|
||||
${XBPS_SUCMD} "$XBPS_INSTALL_CMD $XBPS_INSTALL_ARGS -u ${pkgs}" || return 1
|
||||
${XBPS_SUCMD} "$XBPS_INSTALL_CMD $XBPS_INSTALL_ARGS -u ${pkgs//[$'\n']/ }" || return 1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue