mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* 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:
parent
da66509191
commit
d62267c199
@ -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;;
|
||||
|
Loading…
Reference in New Issue
Block a user