* 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

View File

@ -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> 2000-08-24 Pavel Roskin <proski@gnu.org>
* extfs/Makefile.am: all scripts should be executable * extfs/Makefile.am: all scripts should be executable

View File

@ -43,12 +43,12 @@ mczoofs_copyout ()
# zoo is stupid and won't be happy when the name has no extension. # 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] # 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 else
SYMLINK=~/.mc/temporary.$2.zoo SYMLINK=$HOME/.mc/temporary.$2.zoo
if test -f $SYMLINK; then if test -f $SYMLINK; then
SYMLINK=~/.mc/temporary.$2. SYMLINK=$HOME/.mc/temporary.$2.
fi fi
if test -f $SYMLINK; then if test -f $SYMLINK; then
echo "Ugh. I did not expect this to happen. Cleanup your ~/.mc." echo "Ugh. I did not expect this to happen. Cleanup your ~/.mc."