Changeset 142 for trunk

Show
Ignore:
Timestamp:
07/30/08 22:42:09 (16 years ago)
Author:
broder
Message:

Upstream pyHesiodFS patch to not use Mac-only options on a non-Mac

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/source/pyhesiodfs/pyHesiodFS.py

    r41 r142  
    4747        Fuse.__init__(self, *args, **kwargs) 
    4848        self.fuse_args.add("allow_other", True) 
    49         self.fuse_args.add("noappledouble", True) 
    50         self.fuse_args.add("noapplexattr", True) 
    5149        self.fuse_args.add("fsname", "pyHesiodFS") 
    52         self.fuse_args.add("volname", "MIT") 
     50        if sys.platform == 'darwin': 
     51            self.fuse_args.add("noappledouble", True) 
     52            self.fuse_args.add("noapplexattr", True) 
     53            self.fuse_args.add("volname", "MIT") 
    5354        self.mounts = {} 
    5455