summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_rpm.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-17 19:39:20 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-17 19:39:20 +0100
commitaac25568d86b95872e4620ca2412f26072d28972 (patch)
treeaa62f74ed1de58d8dfc95d56c0924758377ddb7b /bin/reproducible_build_rpm.sh
parentc89d6d8cc43ba2a5cec7f8089828e6eea533a813 (diff)
downloadjenkins.debian.net-aac25568d86b95872e4620ca2412f26072d28972.tar.xz
reproducible archlinux+rpms: remove useless usage of cat, build rpms in random order
Diffstat (limited to 'bin/reproducible_build_rpm.sh')
-rwxr-xr-xbin/reproducible_build_rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh
index 64c7bbd5..e73a2452 100755
--- a/bin/reproducible_build_rpm.sh
+++ b/bin/reproducible_build_rpm.sh
@@ -71,7 +71,7 @@ choose_package() {
fi
echo "$(date -u ) - choosing package to be build."
local PKG=""
- for PKG in $(cat ${RPM_PKGS}_$RELEASE) ; do
+ for PKG in $(sort -R ${RPM_PKGS}_$RELEASE) ; do
# build package if it has never build or at least $MIN_AGE days ago
if [ ! -d $BASE/rpms/$RELEASE/$ARCH/$PKG ] || [ $DUMMY -nt $BASE/rpms/$RELEASE/$ARCH/$PKG ] ; then
SRCPACKAGE=$PKG