From 1624165a914c8b3cce3456935ad728dde686d5ba Mon Sep 17 00:00:00 2001 From: Leonard den Ottolander Date: Sat, 18 Mar 2006 13:05:52 +0000 Subject: [PATCH] * lib/mc-wrapper.sh.in: Don't use "$()" construct as it is not portable to f.e. SunOS. Use backticks instead. --- lib/ChangeLog | 5 +++++ lib/mc-wrapper.sh.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 86f4f726b..4903fe77c 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-03-18 Leonard den Ottolander + + * 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 * mc.ext.in: Add support for Perl .pod files. diff --git a/lib/mc-wrapper.sh.in b/lib/mc-wrapper.sh.in index a27a81bf9..8badfb848 100644 --- a/lib/mc-wrapper.sh.in +++ b/lib/mc-wrapper.sh.in @@ -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