summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)"