diff options
Diffstat (limited to 'fullpkg-ng')
-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 } |