Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates24
1 files changed, 12 insertions, 12 deletions
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