Rename xbps.conf to xbps-src.conf, because it's only used by xbps-src.

--HG--
rename : etc/xbps.conf => etc/xbps-src.conf
extra : convert_revision : xtraeme%40gmail.com-20090817230604-gcvdp2q44bq2lqra
This commit is contained in:
Juan RP 2009-08-18 01:06:04 +02:00
parent e7e1a16784
commit 8621a2437b
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
#- #-
trap "echo && exit 1" INT QUIT trap "echo && exit 1" INT QUIT
: ${XBPS_CONFIG_FILE:=@@XBPS_INSTALL_ETCDIR@@/xbps.conf} : ${XBPS_CONFIG_FILE:=@@XBPS_INSTALL_ETCDIR@@/xbps-src.conf}
: ${progname:=$(basename $0)} : ${progname:=$(basename $0)}
: ${fakeroot_cmd:=fakeroot} : ${fakeroot_cmd:=fakeroot}
@ -63,7 +63,7 @@ Targets:
Options: Options:
-C Do not remove build directory after successful installation. -C Do not remove build directory after successful installation.
-c Path to global configuration file: -c Path to global configuration file:
if not specified @@XBPS_INSTALL_ETCDIR@@/xbps.conf is used. if not specified @@XBPS_INSTALL_ETCDIR@@/xbps-src.conf is used.
-u Update the checksum in template file if used in 'fetch' target. -u Update the checksum in template file if used in 'fetch' target.
_EOF _EOF
exit 1 exit 1
@ -123,7 +123,7 @@ check_config_vars()
local f= local f=
if [ -z "$config_file_specified" ]; then if [ -z "$config_file_specified" ]; then
config_file_paths="$XBPS_CONFIG_FILE ./etc/xbps.conf" config_file_paths="$XBPS_CONFIG_FILE ./etc/xbps-src.conf"
for f in $config_file_paths; do for f in $config_file_paths; do
[ -f $f ] && XBPS_CONFIG_FILE=$f && \ [ -f $f ] && XBPS_CONFIG_FILE=$f && \
cffound=yes && break cffound=yes && break

View File

@ -1,6 +1,6 @@
include ../vars.mk include ../vars.mk
CONF_FILE = xbps.conf CONF_FILE = xbps-src.conf
.PHONY: all .PHONY: all
all: all: