makepkg: fix the --nocolor option being broken when passed to pacman -U
In commit 8ff03868a3
PACMAN_OPTS was
turned into an array. Unfortunately, that array was generated by
treating the "--color never" option as one string, instead of an
array of two strings...
Fixes FS#58820
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
b37a6063d0
commit
ab1e92860b
1 changed files with 1 additions and 1 deletions
|
@ -1265,7 +1265,7 @@ while true; do
|
|||
-i|--install) INSTALL=1 ;;
|
||||
--key) shift; GPGKEY=$1 ;;
|
||||
-L|--log) LOGGING=1 ;;
|
||||
-m|--nocolor) USE_COLOR='n'; PACMAN_OPTS+=("--color never") ;;
|
||||
-m|--nocolor) USE_COLOR='n'; PACMAN_OPTS+=("--color" "never") ;;
|
||||
--noarchive) NOARCHIVE=1 ;;
|
||||
--nocheck) RUN_CHECK='n' ;;
|
||||
--noprepare) RUN_PREPARE='n' ;;
|
||||
|
|
Loading…
Add table
Reference in a new issue