From eaf79d8b78aeb9573ee532f9b0dd4b8e59fec4ed Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 23 Apr 2014 16:37:02 +0200 Subject: [PATCH] xbps-src: if ~/.xbps-src.conf exists, read it after etc/conf. --- xbps-src | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xbps-src b/xbps-src index c2144519fe6..13921eda045 100755 --- a/xbps-src +++ b/xbps-src @@ -358,6 +358,10 @@ else . $XBPS_DISTDIR/etc/defaults.conf fi readonly XBPS_CONFIG_FILE=$XBPS_DISTDIR/etc/conf + # If ~/.xbps-src.conf exists, use it too. + if [ -s $HOME/.xbps-src.conf ]; then + . $HOME/.xbps-src.conf + fi fi #