From 265c4b28a7857a9ed7d61e5b7e832257dfe6c8b8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 13 Jun 2015 18:19:23 +0200 Subject: reproducible openwrt: simplefy find calls --- bin/reproducible_openwrt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_openwrt.sh') 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)" -- cgit v1.2.3-54-g00ecf