summaryrefslogtreecommitdiff
path: root/fullpkg-ng
diff options
context:
space:
mode:
Diffstat (limited to 'fullpkg-ng')
-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
}