[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible openwrt: fix loops

Holger Levsen holger at moszumanska.debian.org
Fri Jun 12 16:46:12 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 9488dd0791c5fe3f09a9d6fb47447bbd4545eebe
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Jun 12 18:45:41 2015 +0200

    reproducible openwrt: fix loops
---
 bin/reproducible_openwrt.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 8cc25b3..0c6e5b7 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -179,14 +179,16 @@ save_openwrt_results b2
 # create html about toolchain used
 #
 TOOLCHAIN_HTML=$(mktemp)
-TARGET=$(ls -1d staging_dir/toolchain*|cut -d "-" -f2-)
+TARGET=$(ls -1d staging_dir/toolchain*|cut -d "-" -f2-|xargs echo)
 echo "<table><tr><th>Contents of <pre>build_dir/host/</pre></th></tr>" > $TOOLCHAIN_HTML
 for i in $(ls -1 build_dir/host/) ; do
 	echo " <tr><td>$i</td></tr>" >> $TOOLCHAIN_HTML
+done
 echo "</table>" >> $TOOLCHAIN_HTML
 echo "<table><tr><th>Downloaded software built for <pre>$TARGET</pre></th></tr>" >> $TOOLCHAIN_HTML
 for i in $(ls -1 dl/) ; do
 	echo " <tr><td>$i</td></tr>" >> $TOOLCHAIN_HTML
+done
 echo "</table>" >> $TOOLCHAIN_HTML
 echo "<table><tr><th>Debian $(cat /etc/debian_version) package on $(dpkg --print-architecture)</th><th>installed version</th></tr>" >> $TOOLCHAIN_HTML
 for i in gcc binutils bzip2 flex python perl make findutils grep diff unzip gawk util-linux zlib1g-dev libc6-dev git subversion ; do

-- 
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