1
0
mirror of https://github.com/MidnightCommander/mc synced 2025-03-30 19:52:59 +03:00

* extfs/uzoo.in: Suppress output from grep. Don't use '~',

use $HOME instead - it's more portable.
This commit is contained in:
Pavel Roskin 2000-09-21 20:58:10 +00:00
parent a676bdfc2b
commit ed3fbae2ed
2 changed files with 8 additions and 3 deletions

@ -1,3 +1,8 @@
2000-09-21 Pavel Roskin <proski@gnu.org>
* extfs/uzoo.in: Suppress output from grep. Don't use '~',
use $HOME instead - it's more portable.
2000-08-24 Pavel Roskin <proski@gnu.org>
* extfs/Makefile.am: all scripts should be executable

@ -43,12 +43,12 @@ mczoofs_copyout ()
# zoo is stupid and won't be happy when the name has no extension.
# We have to do a small trick :) [pretty dirty, broken hack -- pavel]
if echo $2 | grep '\.zoo$'; then
if echo $2 | grep '\.zoo$' >/dev/null; then
:
else
SYMLINK=~/.mc/temporary.$2.zoo
SYMLINK=$HOME/.mc/temporary.$2.zoo
if test -f $SYMLINK; then
SYMLINK=~/.mc/temporary.$2.
SYMLINK=$HOME/.mc/temporary.$2.
fi
if test -f $SYMLINK; then
echo "Ugh. I did not expect this to happen. Cleanup your ~/.mc."