9 lines
146 B
Bash
Executable File
9 lines
146 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# Only attempt to unmount if the directory is already mounted
|
|
if mountpoint -q `pwd`/build; then
|
|
sudo umount build
|
|
fi
|
|
|
|
exit 0
|