Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-packages2
-rwxr-xr-xbin/schedule-for-rebuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/build-packages b/bin/build-packages
index fd9e448..b39546d 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -500,7 +500,7 @@ while [ "${count}" -ne 0 ] && \
date -u --iso-8601=seconds | \
cut -d+ -f1
).build-log"
- if CARCH="${arch}" makepkg --verifysource 2> "${log_file}"; then
+ if GIT_TERMINAL_PROMPT=0 CARCH="${arch}" makepkg --verifysource 2> "${log_file}"; then
success=true
rm "${log_file}"
break
diff --git a/bin/schedule-for-rebuild b/bin/schedule-for-rebuild
index d8dae5c..6c9bfbd 100755
--- a/bin/schedule-for-rebuild
+++ b/bin/schedule-for-rebuild
@@ -277,7 +277,7 @@ if [ -s "${tmp_dir}/package-regexes" ]; then
} | \
mysql_run_query | \
tr '\t' ' ' | \
- sort -u \
+ tac | awk '!seen[$0]++' | tac \
>>"${tmp_dir}/pkgbases"
fi
@@ -465,7 +465,7 @@ if ${auto}; then
} \
| mysql_run_query \
| tr '\t' ' ' \
- | sort -u \
+ | tac | awk '!seen[$0]++' | tac \
>>"${tmp_dir}/pkgbases"
fi
@@ -474,7 +474,7 @@ if [ ! -s "${tmp_dir}/pkgbases" ]; then
exit
fi
-sort -u "${tmp_dir}/pkgbases" \
+tac "${tmp_dir}/pkgbases" | awk '!seen[$0]++' | tac \
| sponge "${tmp_dir}/pkgbases"
if ${interactive}; then