mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* lib/mc-wrapper.sh.in: Don't use "$()" construct as it is not
portable to f.e. SunOS. Use backticks instead.
This commit is contained in:
parent
866d39e32c
commit
1624165a91
@ -1,3 +1,8 @@
|
|||||||
|
2006-03-18 Leonard den Ottolander <leonard den ottolander nl>
|
||||||
|
|
||||||
|
* mc-wrapper.sh.in: Don't use "$()" construct as it is not portable
|
||||||
|
to f.e. SunOS. Use backticks instead.
|
||||||
|
|
||||||
2006-03-15 Gergely Szasz <szaszg@hu.inter.net>
|
2006-03-15 Gergely Szasz <szaszg@hu.inter.net>
|
||||||
|
|
||||||
* mc.ext.in: Add support for Perl .pod files.
|
* mc.ext.in: Add support for Perl .pod files.
|
||||||
|
@ -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