shutils/bulk.sh: remove newlines from package list
This commit is contained in:
parent
23d1109fff
commit
61a501a104
1 changed files with 1 additions and 1 deletions
|
@ -115,6 +115,6 @@ bulk_update() {
|
||||||
if [ -n "$pkgs" -a -n "$args" ]; then
|
if [ -n "$pkgs" -a -n "$args" ]; then
|
||||||
echo
|
echo
|
||||||
msg_normal "xbps-src: updating your system, confirm to proceed...\n"
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue