Move xbps.conf to the new etc dir.

--HG--
extra : convert_revision : 84988fe710423c1610c1a3aa79bd38eee884d4c0
This commit is contained in:
Juan RP 2008-12-22 00:40:36 +01:00
parent f2a77f5e0e
commit d7c720ef7d
3 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,8 @@ By default it uses the xbps directory in your $HOME.
If configuration file is not specified from the command line with the
-c flag, it will first try to use the default location at
/etc/xbps.conf, and as last resort in current directory.
/etc/xbps.conf, and as last resort in the etc directory of the current
directory.
To avoid problems with libtool and configure scripts finding stuff that is
available in the host system, almost all packages must be built inside of a

View File

@ -127,7 +127,7 @@ check_config_vars()
local f=
if [ -z "$config_file_specified" ]; then
config_file_paths="$XBPS_CONFIG_FILE ./xbps.conf"
config_file_paths="$XBPS_CONFIG_FILE ./etc/xbps.conf"
for f in $config_file_paths; do
[ -f $f ] && XBPS_CONFIG_FILE=$f && \
cffound=yes && break