mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
makepkg: only source user override if using default config file
Otherwise there is no way to easily test or run with a standalone config file without outside interference. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
4c80f994c3
commit
c2e6a01a28
@ -1829,8 +1829,9 @@ else
|
||||
exit 1 # $E_CONFIG_ERROR
|
||||
fi
|
||||
|
||||
# Source user-specific makepkg.conf overrides
|
||||
if [[ -r ~/.makepkg.conf ]]; then
|
||||
# Source user-specific makepkg.conf overrides, but only if no override config
|
||||
# file was specified
|
||||
if [[ $MAKEPKG_CONF = "$confdir/makepkg.conf" && -r ~/.makepkg.conf ]]; then
|
||||
source ~/.makepkg.conf
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user