diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-01 16:27:54 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-01 16:27:54 -0500 |
commit | b5101d5a422f84bdbad90ff5859410c831d4c6e8 (patch) | |
tree | b491e226ae7a6c4d48ff12729726418d74fee6a5 | |
parent | aa2e26e54ba59741a36d9d802b9cd8ef156d7510 (diff) |
_pkg_build final messages fixed
-rwxr-xr-x | fullpkg-ng | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 } |