index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-06-28 21:35:48 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-30 10:29:49 -0500 |
commit | c2e6a01a2897e13849e2cdc8291d862d4ea0ee44 (patch) | |
tree | d435e43c6b58ecfa8f08713d0b09491166e650cd /scripts/makepkg.sh.in | |
parent | 4c80f994c34a64f14c46befcf7dbc376276f53d4 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 5 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 43bed72b..10272b38 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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 |