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