Build-all bugfix

This commit is contained in:
Igor Pecovnik 2017-01-19 19:53:15 +01:00
parent 2b2b934e40
commit 593fe47e98

View File

@ -206,7 +206,7 @@ for line in "${buildlist[@]}"; do
n=$[$n+1]
[[ -z $RELEASE ]] && RELEASE=$FORCEDRELEASE;
if [[ $from -le $n ]]; then
[[ -z $BUILD_DESKTOP ]] && BUILD_DESKTOP="no"
jobs=$(ls /run/armbian | wc -l)
if [[ $jobs -lt $MULTITHREAD ]]; then
display_alert "Building in the back $n / ${#buildlist[@]}" "Board: $BOARD Kernel:$BRANCH${RELEASE:+ Release: $RELEASE}${BUILD_DESKTOP:+ Desktop: $BUILD_DESKTOP}" "ext"