index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-08-02 14:32:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-02 14:32:30 +0200 |
commit | 93d2b2ee8ae79b565d57f1692f96f37695ef8b39 (patch) | |
tree | bd42cc7643b7bd5ceaff1327d25cb22e0a48486f /bin/get-package-updates | |
parent | 8601cfbc675a80160118ada110eb0988f7ae3c59 (diff) |
-rwxr-xr-x | bin/get-package-updates | 24 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index b51d7c2..e91e471 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -227,7 +227,7 @@ echo 'apply blacklisting' # this is the first time when all the information is available and up to date black_listed='' -black_listed_new="$( +black_listed_new=$( ( git -C "${repo_paths__archlinux32}" archive "$(cat "${work_dir}/archlinux32.revision")" -- 'blacklist' | \ tar -Ox 'blacklist' @@ -237,7 +237,7 @@ black_listed_new="$( uniq ) | \ sort -u -)" +) ls "${work_dir}/package-infos/" | \ grep '\(\.[0-9a-f]\{40\}\)\{2\}\.[^.]\+\.builds$' | \ @@ -270,16 +270,16 @@ ls "${work_dir}/package-infos/" | \ mod_revs='' continue fi - revs="$( + revs=$( printf '%s\n' \ ${revs} \ "${rev}" - )" - mod_revs="$( + ) + mod_revs=$( printf '%s\n' \ ${mod_revs} \ "${mod_rev}" - )" + ) opkg="${pkg}" orepo="${repo}" done | \ @@ -308,11 +308,11 @@ sed " "${work_dir}/newest-dependencies" while [ -n "${black_listed_new}" ]; do - black_listed="$( + black_listed=$( printf '%s\n' ${black_listed} ${black_listed_new} | \ sort -u - )" - black_listed_new="$( + ) + black_listed_new=$( ( printf '%s\n' ${black_listed} | \ sort -k1,1 | \ @@ -354,12 +354,12 @@ while [ -n "${black_listed_new}" ]; do fi done | \ sort -u - )" - black_listed_new="$( + ) + black_listed_new=$( printf '%s\n' ${black_listed} ${black_listed} ${black_listed_new} | \ sort | \ uniq -u - )" + ) done echo "${black_listed}" | \ while read -r package; do |