* 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:
Leonard den Ottolander 2006-03-18 13:05:52 +00:00
parent 866d39e32c
commit 1624165a91
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* mc.ext.in: Add support for Perl .pod files.

View File

@ -3,7 +3,7 @@ MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
@bindir@/mc -P "$MC_PWD_FILE" "$@"
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
cd "$MC_PWD"
fi