If default config file is found, use it.
--HG-- extra : convert_revision : 2a6f180767a4a45578e791883b3e47864f156a32
This commit is contained in:
parent
826cd990a2
commit
065c95fb52
3
pkgfs.sh
3
pkgfs.sh
|
@ -258,7 +258,8 @@ check_config_vars()
|
|||
if [ -z "$config_file_specified" ]; then
|
||||
config_file_paths="$PKGFS_CONFIG_FILE ./pkgfs.conf"
|
||||
for f in $config_file_paths; do
|
||||
[ -f $f ] && PKGFS_CONFIG_FILE=$f && cffound=yes
|
||||
[ -f $f ] && PKGFS_CONFIG_FILE=$f && \
|
||||
cffound=yes && break
|
||||
done
|
||||
if [ -z "$cffound" ]; then
|
||||
echo -n "*** ERROR: config file not specified "
|
||||
|
|
Loading…
Reference in New Issue