[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reprodcucible rpms|archlinux: force sorting order of packages
Holger Levsen
holger at moszumanska.debian.org
Sat Dec 12 14:42:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 6e95c16a566730268fc5402759111094e218eede
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Dec 12 15:41:56 2015 +0100
reprodcucible rpms|archlinux: force sorting order of packages
---
bin/reproducible_html_archlinux.sh | 2 +-
bin/reproducible_html_rpms.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 53b422a..36e02da 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -34,7 +34,7 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
NR_404=0
NR_GOOD=0
NR_UNKNOWN=0
- for PKG in $(find $ARCHBASE/$REPOSITORY/* -maxdepth 1 -type d -exec basename {} \;) ; do
+ for PKG in $(find $ARCHBASE/$REPOSITORY/* -maxdepth 1 -type d -exec basename {} \;|sort -u) ; do
if [ -z "$(cd $ARCHBASE/$REPOSITORY/$PKG/ ; ls)" ] ; then
# directory exists but is empty: package is building…
echo "$(date -u ) - ignoring $PKG from '$REPOSITORY' which is building right now…"
diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh
index efa3e0e..4dc4a70 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…"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list