From 9488dd0791c5fe3f09a9d6fb47447bbd4545eebe Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 12 Jun 2015 18:45:41 +0200 Subject: 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 8cc25b31..0c6e5b73 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 "" > $TOOLCHAIN_HTML for i in $(ls -1 build_dir/host/) ; do echo " " >> $TOOLCHAIN_HTML +done echo "
Contents of
build_dir/host/
$i
" >> $TOOLCHAIN_HTML echo "" >> $TOOLCHAIN_HTML for i in $(ls -1 dl/) ; do echo " " >> $TOOLCHAIN_HTML +done echo "
Downloaded software built for
$TARGET
$i
" >> $TOOLCHAIN_HTML echo "" >> $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 -- cgit v1.2.3-54-g00ecf
Debian $(cat /etc/debian_version) package on $(dpkg --print-architecture)installed version