Commit 60b6111c authored by Stephan's avatar Stephan
Browse files

build.sh: disable progressbar when not building images

parent e6187e0b
......@@ -154,11 +154,6 @@ show_progress()
tput cup $(( $row - 3)) 0
}
if [ "$_TERM" = "1" ]; then
trap clean_up SIGINT SIGTERM
trap show_progress WINCH
fi
############# build.sh functions ####################
......@@ -463,6 +458,11 @@ fi
echo "### target-regex:[$regex] MENUCONFIG=$MENUCONFIG CLEAN=$MAKE_CLEAN REBUILD_ON_FAILURE=$REBUILD_ON_FAILURE"
if [ "$_TERM" = "1" ]; then
trap clean_up SIGINT SIGTERM
trap show_progress WINCH
fi
setup_buildroot ()
{
buildroot=$1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment