#!/bin/bash
grep "$PWD/workdir/dev/null" /etc/mtab && sudo umount workdir/dev/null
rm -rf workdir
[ "$1" == dist ] && rm -rf dist