* lib/mc.sh.in: remove temporary file non-interactively

* doc/mc.1.in: updated example for mc.sh
This commit is contained in:
Pavel Roskin 2000-09-24 16:11:22 +00:00
parent be82bd6a23
commit 5693a5b3c4
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-09-24 Pavel Roskin <proski@gnu.org>
* lib/mc.sh.in: remove temporary file non-interactively
* doc/mc.1.in: updated example for mc.sh
2000-09-23 Pavel Roskin <proski@gnu.org>
* Makefile.am: mc.spec included to noinst_DATA so that "make all"

View File

@ -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;
}

View File

@ -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;
}