Updated manual, added -e switch description.
[midnight-commander.git] / lib / mc-wrapper.sh.in
blobb1fd5865be271282681743a48a02a204e57accc4
1 MC_PWD_FILE="${TMPDIR-/tmp}/mc-$USER/mc.pwd.$$"
2 @bindir@/mc -P "$MC_PWD_FILE" "$@"
4 if test -r "$MC_PWD_FILE"; then
5 MC_PWD="`cat $MC_PWD_FILE`"
6 if test -n "$MC_PWD" && test -d "$MC_PWD"; then
7 cd "$MC_PWD"
8 fi
9 unset MC_PWD
12 rm -f "$MC_PWD_FILE"
13 unset MC_PWD_FILE