summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_rpms.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-12 15:41:56 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-12 15:41:56 +0100
commit6e95c16a566730268fc5402759111094e218eede (patch)
tree886bdc3af0214fb7170b06d6db5eab344ff3c919 /bin/reproducible_html_rpms.sh
parent76c10a9ded76d3d79b3dbc6ddafb31da2cf86a06 (diff)
downloadjenkins.debian.net-6e95c16a566730268fc5402759111094e218eede.tar.xz
reprodcucible rpms|archlinux: force sorting order of packages
Diffstat (limited to 'bin/reproducible_html_rpms.sh')
-rwxr-xr-xbin/reproducible_html_rpms.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh
index efa3e0e4..4dc4a704 100755
--- a/bin/reproducible_html_rpms.sh
+++ b/bin/reproducible_html_rpms.sh
@@ -36,7 +36,7 @@ NR_DEPWAIT=0
NR_404=0
NR_GOOD=0
NR_UNKNOWN=0
-for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {} \;) ; do
+for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {} \;|sort -u) ; do
if [ -z "$(cd $RPMBASE/$RELEASE/$ARCH/$PKG/ ; ls)" ] ; then
# directory exists but is empty: package is building…
echo "$(date -u ) - ignoring $PKG from '$RELEASE' ($ARCH) which is building right now…"