1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash if [ "$1" = "" ]; then echo "Usage: archrm <path to checkout>" exit 1 fi # FIXME: Check if there are uncommited changes #pushd $1 # #popd rm -rf $1