Browse Source

bin/build-packages: disable color in makepkg - it breaks the error message parsing

Erich Eckner 5 months ago
parent
commit
33826c4667
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      bin/build-packages

+ 2
- 3
bin/build-packages View File

@@ -465,11 +465,10 @@ while [ "${count}" -ne 0 ] && \
465 465
           outerParameters=''
466 466
         fi
467 467
 
468
+        innerParameters='--nocolor'
468 469
         if echo "${straw}" | \
469 470
           grep -qF ':without_check:'; then
470
-          innerParameters='--nocheck'
471
-        else
472
-          innerParameters=''
471
+          innerParameters="${innerParameters} --nocheck"
473 472
         fi
474 473
 
475 474
         if echo "${straw}" | \