Browse Source

Update _cmd_build

system wide s3 part 3
pull/50/head
Gorgone 4 years ago
committed by GitHub
parent
commit
12367f26d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      support/functions/_cmd_build

6
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"

Loading…
Cancel
Save