aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorXiao-Yong Jin <xjin@anl.gov>2018-03-14 20:17:10 -0500
committerDavid du Colombier <0intro@gmail.com>2018-03-27 15:01:46 +0200
commita5b24c22a865f2ea3ee389b9d0a235bf7d93f5a6 (patch)
tree5ec9369d54fa6dc6f2cce3626a8e33af06e9d98c /bin
parent4ebaf18e9234bf58aae7a5c47fc15ec4c80812b6 (diff)
downloadplan9port-a5b24c22a865f2ea3ee389b9d0a235bf7d93f5a6.tar.gz
plan9port-a5b24c22a865f2ea3ee389b9d0a235bf7d93f5a6.tar.bz2
plan9port-a5b24c22a865f2ea3ee389b9d0a235bf7d93f5a6.zip
mount, 9pfuse: detect macports installed osxfuse
MacPorts installs osxfuse under /opt/local.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mount b/bin/mount
index a343a532..0fbb1bfd 100755
--- a/bin/mount
+++ b/bin/mount
@@ -26,6 +26,7 @@ case Darwin
test -d /System/Library/Extensions/fusefs.kext ||
test -d /Library/Filesystems/osxfuse.fs/Contents/Extensions/$version/osxfuse.kext ||
test -d /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext ||
+ test -d /opt/local/Library/Filesystems/osxfuse.fs ||
test -d /Library/Filesystems/fusefs.fs/Support/fusefs.kext)
exec 9pfuse $1 $2
echo 'don''t know how to mount (no fuse)' >[1=2]