summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-11-21 22:34:54 +0000
committerHolger Levsen <holger@layer-acht.org>2017-11-21 23:19:58 +0000
commitaaecc24a220225fd5d81b1adb28d98a7e3a6c41b (patch)
tree6dc4478bb79677c23ad1a0b472a9c6d05e673d1b
parent8cf3e804af69101d777384228c3878a0aeff4e02 (diff)
downloadjenkins.debian.net-aaecc24a220225fd5d81b1adb28d98a7e3a6c41b.tar.xz
reproducible Arch Linux: randomize package selection
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 91a28d20..ff790274 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -87,7 +87,7 @@ choose_package() {
;;
esac
touch -d "$(date -d "$MIN_AGE days ago" '+%Y-%m-%d') 00:00 UTC" $DUMMY
- for PKG in $(sort -R ${ARCHLINUX_PKGS}_$REPO) ; do
+ for PKG in $(cat ${ARCHLINUX_PKGS}_$REPO | sed -s "s# #\n#g" | sort -R | xargs echo ) ; do
# build package if it has never build or at least $MIN_AGE days ago
if [ ! -d $BASE/archlinux/$REPO/$PKG ] || [ $DUMMY -nt $BASE/archlinux/$REPO/$PKG ] ; then
REPOSITORY=$REPO