* mc-test: When executing the "." command, always generate a

config file name containing a slash, as otherwise the config
	file would be searched in the $PATH.
This commit is contained in:
Roland Illig 2005-02-22 03:54:01 +00:00
parent da66509191
commit d62267c199

View File

@ -84,7 +84,7 @@ EOF
while test $# -ne 0; do
case "$1" in
-config) shift; . "$1"; shift;;
-config) shift; case "$1" in /*) . "$1";; *) . "./$1";; esac; shift;;
-basedir) shift; mc_basedir="$1"; shift;;
-cvs-repository) shift; mc_cvs_repository="$1"; shift;;
-cvs-module) shift; mc_cvs_module="$1"; shift;;