index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-10-05 14:57:16 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-05 14:57:16 +0200 |
commit | 3dfa86c30cda4b47d644a6ebe7bdb50838712cbb (patch) | |
tree | c3ab410c7a3d77c82b190b838914b044d79ddc45 /bin | |
parent | 80edbc4dfce3e489ec1d76d82b7d6fe37b675271 (diff) |
-rwxr-xr-x | bin/build-packages | 20 |
diff --git a/bin/build-packages b/bin/build-packages index 64762c4..228f45f 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -198,18 +198,14 @@ while [ "${count}" -ne 0 ] && \ "${master_build_server_user}@${master_build_server}" \ 'get-assignment' "${arch}" "${prefered_package}" ) || err=$? - if [ "$(printf '%s\n' "${package}" | wc -l)" -ne 1 ]; then - expected_packages=$( - printf '%s\n' "${package}" | \ - sed '1d' - ) - package=$( - printf '%s\n' "${package}" | \ - sed -n '1p' - ) - else - expected_packages='' - fi + expected_packages=$( + printf '%s\n' "${package}" | \ + sed '1d' + ) + package=$( + printf '%s\n' "${package}" | \ + sed -n '1p' + ) else package=$( echo "${forced_package}" | \ |