summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-11-21 23:01:21 +0000
committerHolger Levsen <holger@layer-acht.org>2017-11-21 23:01:21 +0000
commitac6922e033432b68ef5b5e5309350d15a7037aa6 (patch)
tree4616a6ac62f642c756808adce4eadec41359a9d3
parent648cdac59ad4ad5eddc02d9a490f0b08bfad113e (diff)
downloadjenkins.debian.net-ac6922e033432b68ef5b5e5309350d15a7037aa6.tar.xz
Revert "reproducible Arch Linux: randomize package selection"
This reverts commit 73b3f68062d4928bfad0a045409c04e581d8619d.
-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 cbced05b..9de8260d 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 $(echo ${ARCHLINUX_PKGS}_$REPO | sed -s "s# #\n#g" | sort -R | xargs echo ) ; do
+ for PKG in $(sort -R ${ARCHLINUX_PKGS}_$REPO) ; 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