summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-12 21:14:52 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-12 21:14:52 +0200
commita918dfe9847ed46d43d59a066db27622b81fc828 (patch)
tree53b3e101df0f5fc59de2c4e140b9b0469f53df1d
parenteec3c8cd076a57343b624cd82127d9dbfa8e38c5 (diff)
downloadjenkins.debian.net-a918dfe9847ed46d43d59a066db27622b81fc828.tar.xz
reproducible coreboot and openwrt: sort results alphabetically
-rwxr-xr-xbin/reproducible_coreboot.sh2
-rwxr-xr-xbin/reproducible_openwrt.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 87be3064..d40eb358 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 616212c5..9a2bcde7 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)"