From 12367f26d605734a34edfc225677f58103dc3004 Mon Sep 17 00:00:00 2001 From: Gorgone Date: Mon, 28 Sep 2020 13:36:28 +0200 Subject: [PATCH] Update _cmd_build system wide s3 part 3 --- support/functions/_cmd_build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/support/functions/_cmd_build b/support/functions/_cmd_build index 1c90825..b0cb06c 100644 --- a/support/functions/_cmd_build +++ b/support/functions/_cmd_build @@ -250,6 +250,12 @@ printf "$y_l\n | set : ${cdtag}$w_l" #link lastlog ln -sf "$ldir/$log_name" "$workdir/lastbuild.log" +#EXTRA_COPY_DIR + if [ $EXTRA_COPY_DIR -eq 1 ]; then + cd $bdir + cp $oscam_name $here_ + fi + #build error message error_on_build=$(grep -c1 error "$ldir/$log_name") [ "$error_on_build" -gt "0" ] && printf "$r_l\terrors on build found$w_l"