summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2021-11-06 20:12:59 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2021-11-06 20:12:59 -0700
commit5a444384263e8b5a71977bcb4c8dc149690768f6 (patch)
treed8cfc649c9396e0a3c198f87e67e2efadac86aba
parentsync-autobuilds: preserve hardlinks for archive (diff)
downloadmastermirror-scripts-20211107T031707Z.tar.gz
mastermirror-scripts-20211107T031707Z.tar.bz2
mastermirror-scripts-20211107T031707Z.zip
autobuilds: easier to debug if we can pass single arch20211107T031707Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsign-autobuilds.sh5
-rwxr-xr-xsync-autobuilds.sh5
2 files changed, 6 insertions, 4 deletions
diff --git a/sign-autobuilds.sh b/sign-autobuilds.sh
index 4014cae..798b22c 100755
--- a/sign-autobuilds.sh
+++ b/sign-autobuilds.sh
@@ -3,8 +3,9 @@
# might be earlier copyright, no history available
# Keep this variable in sync in both sign-autobuilds.sh & sync-autobuilds.sh
-ARCHES="alpha amd64 arm64 arm hppa ia64 m68k ppc riscv s390 sh sparc x86"
- #alpha amd64 arm64 arm hppa ia64 m68k mips ppc riscv s390 sh sparc x86
+_ARCHES="alpha amd64 arm64 arm hppa ia64 m68k ppc riscv s390 sh sparc x86"
+ #alpha amd64 arm64 arm hppa ia64 m68k mips ppc riscv s390 sh sparc x86
+ARCHES=${ARCHES:-${_ARCHES}}
RELEASES=/var/tmp/gmirror-releases/releases/
[[ $HOSTNAME == TODO ]] && RELEASES=/var/tmp/gmirror/releases/
diff --git a/sync-autobuilds.sh b/sync-autobuilds.sh
index 4ed2014..ad2fc80 100755
--- a/sync-autobuilds.sh
+++ b/sync-autobuilds.sh
@@ -3,8 +3,9 @@
# might be earlier copyright, no history available
# Keep this variable in sync in both sign-autobuilds.sh & sync-autobuilds.sh
-ARCHES="alpha amd64 arm64 arm hppa ia64 m68k ppc riscv s390 sh sparc x86"
- #alpha amd64 arm64 arm hppa ia64 m68k mips ppc riscv s390 sh sparc x86
+_ARCHES="alpha amd64 arm64 arm hppa ia64 m68k ppc riscv s390 sh sparc x86"
+ #alpha amd64 arm64 arm hppa ia64 m68k mips ppc riscv s390 sh sparc x86
+ARCHES=${ARCHES:-${_ARCHES}}
# The -rp_*asc filter rules causes rsync to only delete .asc files that are in
# directories that would otherwise be deleted.