fix
authorMiklos Szeredi <miklos@szeredi.hu>
Mon, 2 Jan 2006 16:27:48 +0000 (16:27 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Mon, 2 Jan 2006 16:27:48 +0000 (16:27 +0000)
ChangeLog
util/mount.fuse

index 417955daf4e5c4ca445508bd7a17ca333cb5136b..1b7fe96bdf527d0c7f061b713deff9fe999fd0a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
 2006-01-02  Miklos Szeredi <miklos@szeredi.hu>
 
-       * Fix mount.fuse so that it ignores the 'user' option.
-       Report and solution from Mattd.
+       * mount.fuse: the 'user' option should be ignored. Report and
+       solution from Mattd.
+
+       * mount.fuse: export PATH in the right place. Report and patch
+       from Hannes Schweizer
 
 2005-12-16  Miklos Szeredi <miklos@szeredi.hu>
 
index db9562f2558caa3c5a8c2a98b294ca493d29c531..3ea6d9e0966c0cb2998f415823bc6c6aa6510714 100644 (file)
@@ -26,6 +26,7 @@ function die {
 FSTYPE=${1%%\#*} # for now i have to be same as FUSE mount binary
                 # should be configurable
 
+export PATH
 FSBIN=`which ${FSTYPE} 2>/dev/null` \
        || die "Can not find FUSE mount binary for FS ${FSTYPE}" 1
 
@@ -42,8 +43,4 @@ shift
 
 OPTIONS=`echo $@ | sed 's/,user//'`
 
-export PATH
 ${FSTYPE} ${MOUNTPATH} ${MOUNTPOINT} ${OPTIONS}
-
-
-