From b5101d5a422f84bdbad90ff5859410c831d4c6e8 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Wed, 1 Jun 2011 16:27:54 -0500 Subject: _pkg_build final messages fixed --- fullpkg-ng | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fullpkg-ng b/fullpkg-ng index a6e9732..9db75a2 100755 --- a/fullpkg-ng +++ b/fullpkg-ng @@ -248,20 +248,20 @@ function _pkg_build () { done pkgs=$(cat $build_dir/log | grep "nonfree:") && { error "Those packages contain nonfree deps:" - echo ${pkgs[@]} | cut -d: -f2 + echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2 } - pkgs=$(cat $build_dir/log | grep "built:") && { + pkgs=$(cat $build_dir/log | tr " " "\n" | grep "built:") && { error "Those packages were built and installed:" - echo ${pkgs[@]} | cut -d: -f2 + echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2 msg "Uploading packages to the server" } - pkgs=$(cat $build_dir/log | grep "failed:") && { + pkgs=$(cat $build_dir/log | tr " " "\n" | grep "failed:") && { error "Those packages failed to build:" - echo ${pkgs[@]} | cut -d: -f2 + echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2 } - pkgs=$(cat $build_dir/log | grep "unstaged:") && { + pkgs=$(cat $build_dir/log | tr " " "\n" | grep "unstaged:") && { error "Those packages couldn't be staged because of missing reponame:" - echo ${pkgs[@]} | cut -d: -f2 + echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2 } popd > /dev/null } -- cgit v1.2.3-54-g00ecf