From 74139ffb7332fc2bafd98bef78105e03c15d9934 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 24 Jun 2017 19:00:57 +0200 Subject: reproducible_lede: add missing cd source in node_document_environment Fixes empty contents of - `Target toolchains built`, - `build_dir/host/` - `Downloaded software` Signed-off-by: Holger Levsen --- bin/reproducible_lede_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh index a4793b4b..5301c3d0 100644 --- a/bin/reproducible_lede_common.sh +++ b/bin/reproducible_lede_common.sh @@ -78,7 +78,7 @@ node_document_environment() { local tmpdir=$1 local toolchain_html=$tmpdir/toolchain.html - cd $tmpdir/build + cd $tmpdir/build/source echo "" > $toolchain_html for i in $(ls -1d staging_dir/toolchain*|cut -d "-" -f2-|xargs echo) ; do echo " " >> $toolchain_html @@ -101,6 +101,7 @@ node_document_environment() { echo " " >> $toolchain_html done echo "
Target toolchains built
$i
" >> $toolchain_html + cd - } # node_save_logs can be called over ssh OR called within openwrt_build -- cgit v1.2.3-70-g09d2