diff options
Diffstat (limited to 'misc/mac-tmp-disk-mount.sh')
-rwxr-xr-x | misc/mac-tmp-disk-mount.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/misc/mac-tmp-disk-mount.sh b/misc/mac-tmp-disk-mount.sh deleted file mode 100755 index f752c54f6..000000000 --- a/misc/mac-tmp-disk-mount.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -set -e -cd "$(dirname "$0")/.." - -# Create if needed -if [[ ! -f build/tmp.sparseimage ]]; then - echo "Creating sparse disk image with case-sensitive file system build/tmp.sparseimage" - mkdir -p build - hdiutil create build/tmp.sparseimage \ - -size 1g \ - -type SPARSE \ - -fs JHFS+X \ - -volname tmp -fi - -# Mount if needed -if ! (diskutil info build/tmp >/dev/null); then - echo "Mounting sparse disk image with case-sensitive file system at build/tmp" - hdiutil attach build/tmp.sparseimage \ - -readwrite \ - -mountpoint "$(pwd)/build/tmp" \ - -nobrowse \ - -noautoopen \ - -noidmereveal -fi |