xbps-src/bulk: silence output if there are no pkgs to build.

This commit is contained in:
Juan RP 2015-04-11 08:40:16 +02:00
parent 3f73d204ea
commit ad71cffe79

View File

@ -64,6 +64,9 @@ bulk_update() {
local args="$1" pkgs f
pkgs="$(bulk_build ${args})"
if [ -z "$pkgs" ]; then
return 0
fi
msg_normal "xbps-src: the following packages must be rebuilt and updated:\n"
for f in ${pkgs}; do
echo " $f"