Skip to content
Snippets Groups Projects
Unverified Commit 4e9eb230 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

Fix case when force is specified but jobs not

parent 93296c8f
No related branches found
No related tags found
No related merge requests found
......@@ -359,6 +359,7 @@ build() {
make $MAKE_DEBUG IS_TTY=1 BUILD_LOG=1 $BUILD_ARGS $OWRT_DEBUG
else
JOBS="$(echo " $BUILD_ARGS " | sed -n 's|.*-j\([0-9]\+\)|\1\n|p' | head -n 1)"
[ -n "$JOBS" ] || JOBS=0
SUCCESS=""
while [ "$JOBS" -gt 0 ] && [ -z "$SUCCESS" ]; do
COUNTDOWN="$FORCE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment