summaryrefslogtreecommitdiff
path: root/contrib/fusermount
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-02-15 23:02:01 +0100
committerJakob Unterwurzacher2017-02-15 23:02:01 +0100
commitce2e610428c940c2bd5ca1790e7375117b1f6015 (patch)
tree08563c5e36b8d285390f897cd122e7e1aa8f6fc4 /contrib/fusermount
parent6be7808992a1d9562b113b13831cd6d6a40114d6 (diff)
OSX compat: replace fusermount calls with fuse-unmount.bash
Mac OS X does not have fusermount and uses umount instead. The fuse-unmount.bash calls the appropriate command.
Diffstat (limited to 'contrib/fusermount')
-rwxr-xr-xcontrib/fusermount14
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/fusermount b/contrib/fusermount
deleted file mode 100755
index 15c12a0..0000000
--- a/contrib/fusermount
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash -eu
-#
-# Mac OS X does not have fusermount. Put this script into
-# your $PATH to emulate it using umount.
-#
-cd "$(dirname "$0")"
-MYNAME=$(basename "$0")
-if [[ $# -lt 1 ]] ; then
- echo "$PWD/$MYNAME: missing argument"
- exit 1
-fi
-# Get the mount point from the last argument, ignore everything else
-M=${@: -1}
-exec umount "$M"