summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-01 16:27:54 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-01 16:27:54 -0500
commitb5101d5a422f84bdbad90ff5859410c831d4c6e8 (patch)
treeb491e226ae7a6c4d48ff12729726418d74fee6a5
parentaa2e26e54ba59741a36d9d802b9cd8ef156d7510 (diff)
_pkg_build final messages fixed
-rwxr-xr-xfullpkg-ng14
1 files 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
}