mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* lib/mc-wrapper.sh.in: Handle user names with spaces.
* lib/mc-wrapper.csh.in: Likewise.
This commit is contained in:
parent
049352e884
commit
118b31fa91
@ -1,3 +1,8 @@
|
|||||||
|
2006-02-28 Leonard den Ottolander <leonard den ottolander nl>
|
||||||
|
|
||||||
|
* mc-wrapper.sh.in: Handle user names with spaces.
|
||||||
|
* mc-wrapper.csh.in: Likewise.
|
||||||
|
|
||||||
2006-02-19 Nerijus Baliunas <nerijus@users.sourceforge.net>
|
2006-02-19 Nerijus Baliunas <nerijus@users.sourceforge.net>
|
||||||
|
|
||||||
* mc.ext.in: Open gimp in the background.
|
* mc.ext.in: Open gimp in the background.
|
||||||
|
@ -9,7 +9,7 @@ endif
|
|||||||
@bindir@/mc -P "$MC_PWD_FILE" $*
|
@bindir@/mc -P "$MC_PWD_FILE" $*
|
||||||
|
|
||||||
if (-r "$MC_PWD_FILE") then
|
if (-r "$MC_PWD_FILE") then
|
||||||
setenv MC_PWD "`cat $MC_PWD_FILE`"
|
setenv MC_PWD "`cat '$MC_PWD_FILE'`"
|
||||||
if ( -d "$MC_PWD" ) then
|
if ( -d "$MC_PWD" ) then
|
||||||
cd "$MC_PWD"
|
cd "$MC_PWD"
|
||||||
endif
|
endif
|
||||||
|
@ -3,7 +3,7 @@ MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
|
|||||||
@bindir@/mc -P "$MC_PWD_FILE" "$@"
|
@bindir@/mc -P "$MC_PWD_FILE" "$@"
|
||||||
|
|
||||||
if test -r "$MC_PWD_FILE"; then
|
if test -r "$MC_PWD_FILE"; then
|
||||||
MC_PWD="`cat $MC_PWD_FILE`"
|
MC_PWD="$(cat "$MC_PWD_FILE")"
|
||||||
if test -n "$MC_PWD" && test -d "$MC_PWD"; then
|
if test -n "$MC_PWD" && test -d "$MC_PWD"; then
|
||||||
cd "$MC_PWD"
|
cd "$MC_PWD"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user