* lib/mc.csh.in: Add quoting and check for missing file.

This commit is contained in:
Pavel Roskin 2002-10-31 16:55:57 +00:00
parent a9ec61a020
commit d8c9fe58f1
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2002-10-31 Pavel Roskin <proski@gnu.org> 2002-10-31 Pavel Roskin <proski@gnu.org>
* lib/mc.csh.in: Add quoting and check for missing file.
* lib/mc.csh.in: Update to use the new -P option. This script * lib/mc.csh.in: Update to use the new -P option. This script
has absolutely no protection against special symbols in has absolutely no protection against special symbols in
directory names and lacks TMPDIR support. directory names and lacks TMPDIR support.

View File

@ -1 +1 @@
alias mc 'setenv MC_PWD_FILE /tmp/mc-$USER/mc.pwd.$$; @prefix@/bin/mc -P "$MC_PWD_FILE" \!*; cd "`cat $MC_PWD_FILE`"; rm -f "$MC_PWD_FILE"; unsetenv MC_PWD_FILE' alias mc 'setenv MC_PWD_FILE /tmp/mc-$USER/mc.pwd.$$; @prefix@/bin/mc -P "$MC_PWD_FILE" \!*; if -r "$MC_PWD_FILE" cd "`cat $MC_PWD_FILE`"; rm -f "$MC_PWD_FILE"; unsetenv MC_PWD_FILE'