shutils/bulk.sh: remove newlines from package list

This commit is contained in:
Andrew Benson 2020-06-02 17:03:42 -05:00 committed by Andrew Benson
parent 23d1109fff
commit 61a501a104
1 changed files with 1 additions and 1 deletions

View File

@ -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
}