From 5693a5b3c4b28ed5fe1567e4582165a24dbcf884 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 24 Sep 2000 16:11:22 +0000 Subject: [PATCH] * lib/mc.sh.in: remove temporary file non-interactively * doc/mc.1.in: updated example for mc.sh --- ChangeLog | 5 +++++ doc/mc.1.in | 2 +- lib/mc.sh.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8c2425310..031dcbd7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-09-24 Pavel Roskin + + * lib/mc.sh.in: remove temporary file non-interactively + * doc/mc.1.in: updated example for mc.sh + 2000-09-23 Pavel Roskin * Makefile.am: mc.spec included to noinst_DATA so that "make all" diff --git a/doc/mc.1.in b/doc/mc.1.in index 06f56fe1a..60d6d7ff7 100644 --- a/doc/mc.1.in +++ b/doc/mc.1.in @@ -70,7 +70,7 @@ mc () MC=$HOME/.mc/tmp/mc-$$ @prefix@/bin/mc -P "$@" > "$MC" cd "`cat $MC`" - rm "$MC" + rm -r "$MC" unset MC; } diff --git a/lib/mc.sh.in b/lib/mc.sh.in index fc2fbdf06..46b80a82b 100644 --- a/lib/mc.sh.in +++ b/lib/mc.sh.in @@ -5,6 +5,6 @@ mc () MC=$HOME/.mc/tmp/mc-$$ @prefix@/bin/mc -P "$@" > "$MC" cd "`cat $MC`" - rm "$MC" + rm -r "$MC" unset MC; }