From b460b1b0c2360c056f08ba7d53343c10c395e6e7 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 28 Jan 2015 22:39:12 +1100 Subject: [PATCH] fs/unwedge-tests: Can't assume /tmp on OSX --- fs/unwedge-tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/unwedge-tests b/fs/unwedge-tests index 69dacc89..322a2802 100755 --- a/fs/unwedge-tests +++ b/fs/unwedge-tests @@ -1,5 +1,5 @@ shopt -s nullglob -for a in /tmp/torrentfs*; do +for a in "${TMPDIR:-/tmp}"/torrentfs*; do sudo umount -f "$a/mnt" rm -r -- "$a" -done \ No newline at end of file +done -- 2.48.1