PKGBUILD: sourcing order fix (#653)

* PKGBUILD: source prepare after the config files

The git mirror wasn't configured with the user choice otherwise
Fixes: #647

* install.sh: honor external config file
This commit is contained in:
Adel Kara Slimane
2022-11-23 15:13:07 +01:00
committed by GitHub
parent f5cd3ea3b3
commit 75ea27821f
2 changed files with 8 additions and 1 deletions

View File

@@ -44,6 +44,12 @@ plain() {
declare -p -x > current_env
source customization.cfg
if [ -e "$_EXT_CONFIG_PATH" ]; then
msg2 "External configuration file $_EXT_CONFIG_PATH will be used and will override customization.cfg values."
source "$_EXT_CONFIG_PATH"
fi
. current_env
source linux-tkg-config/prepare