[Qa-jenkins-scm] [jenkins.debian.net] 02/03: reproducible openwrt: simplefy find calls
Holger Levsen
holger at moszumanska.debian.org
Sat Jun 13 16:20:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 265c4b28a7857a9ed7d61e5b7e832257dfe6c8b8
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Jun 13 18:19:23 2015 +0200
reproducible openwrt: simplefy find calls
---
bin/reproducible_openwrt.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index d44de37..d61deda 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)"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list