makepkg: pass "--nocolor" to pacman

FS#39982.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andrew DeMaria 2014-05-25 13:59:26 +10:00 committed by Allan McRae
parent 2401468f51
commit 235ce32563
1 changed files with 1 additions and 1 deletions

View File

@ -2718,7 +2718,7 @@ while true; do
-i|--install) INSTALL=1 ;; -i|--install) INSTALL=1 ;;
--key) shift; GPGKEY=$1 ;; --key) shift; GPGKEY=$1 ;;
-L|--log) LOGGING=1 ;; -L|--log) LOGGING=1 ;;
-m|--nocolor) USE_COLOR='n' ;; -m|--nocolor) USE_COLOR='n'; PACMAN_OPTS+=" --color never" ;;
--noarchive) NOARCHIVE=1 ;; --noarchive) NOARCHIVE=1 ;;
--nocheck) RUN_CHECK='n' ;; --nocheck) RUN_CHECK='n' ;;
--noprepare) RUN_PREPARE='n' ;; --noprepare) RUN_PREPARE='n' ;;