summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede_common.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-24 19:00:57 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-25 03:11:05 +0200
commit74139ffb7332fc2bafd98bef78105e03c15d9934 (patch)
tree190e25286136aacce2e7aac27bf08b3181e46e48 /bin/reproducible_lede_common.sh
parentb76b0380450d3dea77f9a8d609888caa62e423b4 (diff)
downloadjenkins.debian.net-74139ffb7332fc2bafd98bef78105e03c15d9934.tar.xz
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 <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_lede_common.sh')
-rw-r--r--bin/reproducible_lede_common.sh3
1 files changed, 2 insertions, 1 deletions
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 "<table><tr><th>Target toolchains built</th></tr>" > $toolchain_html
for i in $(ls -1d staging_dir/toolchain*|cut -d "-" -f2-|xargs echo) ; do
echo " <tr><td><code>$i</code></td></tr>" >> $toolchain_html
@@ -101,6 +101,7 @@ node_document_environment() {
echo " </td></tr>" >> $toolchain_html
done
echo "</table>" >> $toolchain_html
+ cd -
}
# node_save_logs can be called over ssh OR called within openwrt_build