[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible coreboot and openwrt: sort results alphabetically

Holger Levsen holger at moszumanska.debian.org
Fri Jun 12 19:15:23 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 a918dfe9847ed46d43d59a066db27622b81fc828
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Jun 12 21:14:52 2015 +0200

    reproducible coreboot and openwrt: sort results alphabetically
---
 bin/reproducible_coreboot.sh | 2 +-
 bin/reproducible_openwrt.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 87be306..d40eb35 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -204,7 +204,7 @@ GOOD_ROMS=0
 ALL_ROMS=0
 create_results_dirs
 cd $TMPDIR/b1
-for i in * ; do
+for i in $(ls -1d *| sort -u) ; do
 	let ALL_ROMS+=1
 	if [ -f $i/coreboot.rom ] ; then
 		call_debbindiff $i
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 616212c..9a2bcde 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -222,7 +222,7 @@ create_results_dirs
 cd $TMPDIR/b1
 for i in * ; do
 	cd $i
-	for j in $(find . -name "*.bin") ; do
+	for j in $(find . -name "*.bin"|sort -u ) ; do
 		let ALL_IMAGES+=1
 		call_debbindiff $i $j
 		SIZE="$(du -h -b $j | cut -f1)"

-- 
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