Browse Source

* extfs/uzoo.in: Suppress output from grep. Don't use '~',
use $HOME instead - it's more portable.

Pavel Roskin 24 years ago
parent
commit
ed3fbae2ed
2 changed files with 8 additions and 3 deletions
  1. 5 0
      vfs/ChangeLog
  2. 3 3
      vfs/extfs/uzoo.in

+ 5 - 0
vfs/ChangeLog

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

+ 3 - 3
vfs/extfs/uzoo.in

@@ -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."