xbps-src: disable NOCOLORS in CI

This allows having the message colours in CI, and only affects xbps-src itself
This commit is contained in:
0x5c 2024-01-05 18:56:41 -05:00 committed by classabbyamp
parent a5a7821a67
commit f278cb40f1
1 changed files with 3 additions and 0 deletions

View File

@ -474,6 +474,9 @@ fi
# Read settings from config file # Read settings from config file
[ -s "$XBPS_CONFIG_FILE" ] && . $XBPS_CONFIG_FILE &>/dev/null [ -s "$XBPS_CONFIG_FILE" ] && . $XBPS_CONFIG_FILE &>/dev/null
# show colors unconditionally in CI
[ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ] && export NOCOLORS=
# Set options passed on command line, after configuration files have been read # Set options passed on command line, after configuration files have been read
[ -n "$XBPS_ARG_BUILD_ONLY_ONE_PKG" ] && XBPS_BUILD_ONLY_ONE_PKG=yes [ -n "$XBPS_ARG_BUILD_ONLY_ONE_PKG" ] && XBPS_BUILD_ONLY_ONE_PKG=yes
[ -n "$XBPS_ARG_IGNORE_BROKENNESS" ] && XBPS_IGNORE_BROKENNESS=1 [ -n "$XBPS_ARG_IGNORE_BROKENNESS" ] && XBPS_IGNORE_BROKENNESS=1