summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-13 18:19:23 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-13 18:19:23 +0200
commit265c4b28a7857a9ed7d61e5b7e832257dfe6c8b8 (patch)
tree2673decb428e966c27a1c4676971b117d37041e1 /bin/reproducible_openwrt.sh
parent9a0e97b2538a5032ecc6d0b34f924aa51ef3e06e (diff)
downloadjenkins.debian.net-265c4b28a7857a9ed7d61e5b7e832257dfe6c8b8.tar.xz
reproducible openwrt: simplefy find calls
Diffstat (limited to 'bin/reproducible_openwrt.sh')
-rwxr-xr-xbin/reproducible_openwrt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index d44de371..d61dedaf 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -72,7 +72,7 @@ save_openwrt_results(){
cd $i
# save images
mkdir -p $TMPDIR/$RUN/$i
- for j in $(find . -name "*.bin" -exec basename \{\} \; ) ; do
+ for j in $(find * -name "*.bin") ; do
cp -p $j $TMPDIR/$RUN/$i/
done
# save packages
@@ -234,7 +234,7 @@ create_results_dirs
cd $TMPDIR/b1
for i in * ; do
cd $i
- for j in $(find . -name "*.bin" -o -name "*.squashfs" -exec basename \{\} \; |sort -u ) ; 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)"