From ce2e610428c940c2bd5ca1790e7375117b1f6015 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 15 Feb 2017 23:02:01 +0100 Subject: 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. --- contrib/fusermount | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 contrib/fusermount (limited to 'contrib') 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" -- cgit v1.2.3