diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-06-13 18:19:23 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-13 18:19:23 +0200 |
commit | 265c4b28a7857a9ed7d61e5b7e832257dfe6c8b8 (patch) | |
tree | 2673decb428e966c27a1c4676971b117d37041e1 | |
parent | 9a0e97b2538a5032ecc6d0b34f924aa51ef3e06e (diff) | |
download | jenkins.debian.net-265c4b28a7857a9ed7d61e5b7e832257dfe6c8b8.tar.xz |
reproducible openwrt: simplefy find calls
-rwxr-xr-x | bin/reproducible_openwrt.sh | 4 |
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)" |