diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-11-21 22:34:54 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-11-21 22:34:54 +0000 |
commit | 73b3f68062d4928bfad0a045409c04e581d8619d (patch) | |
tree | 934f112d8e073cc882ebe418ae644e9fa1b0a7c9 | |
parent | 805cdce75a8435adb3bf2d09b43796aa3269979e (diff) | |
download | jenkins.debian.net-73b3f68062d4928bfad0a045409c04e581d8619d.tar.xz |
reproducible Arch Linux: randomize package selection
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_build_archlinux_pkg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh index 2f5ea56a..c0c540fc 100755 --- a/bin/reproducible_build_archlinux_pkg.sh +++ b/bin/reproducible_build_archlinux_pkg.sh @@ -86,7 +86,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 $(echo ${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 |