From b71ff2e224c000ee9da793b0b046843472bb0ef4 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 13 Oct 2016 22:32:45 +0200 Subject: reproducible/openwrt|lede: fix name of renamed function in failure path Signed-off-by: Holger Levsen --- bin/reproducible_openwrt_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh index 3af45b7a..793ee1b8 100644 --- a/bin/reproducible_openwrt_common.sh +++ b/bin/reproducible_openwrt_common.sh @@ -44,8 +44,8 @@ master_cleanup_tmpdirs() { # in a success build the logs are saved on a different function if [ "$1" != "success" ] ; then # job failed - ssh $GENERIC_NODE1 reproducible_$TYPE node openwrt_save_logs $TMPDIR/logs.xz $TMPDIR/build || true - ssh $GENERIC_NODE2 reproducible_$TYPE node openwrt_save_logs $TMPDIR/logs.xz $TMPDIR/build || true + ssh $GENERIC_NODE1 reproducible_$TYPE node node_save_logs $TMPDIR/logs.xz $TMPDIR/build || true + ssh $GENERIC_NODE2 reproducible_$TYPE node node_save_logs $TMPDIR/logs.xz $TMPDIR/build || true # save failure logs mkdir -p $WORKSPACE/results/ rsync -av $GENERIC_NODE1:$TMPDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b1.tar.xz @@ -264,7 +264,7 @@ openwrt_get_banner() { TMPDIR=$1 TYPE=$2 cd $TMPDIR/build/$TYPE - cat $(find build_dir/ -name banner | grep etc/banner|head -1| xargs cat /dev/null) + find build_dir/ -name banner | grep etc/banner|head -1| xargs cat /dev/null } # openwrt_build is run on a remote host -- cgit v1.2.3-70-g09d2