1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/bash # License: Unspecified m4_include(lib/common.sh) if [[ -z $1 ]]; then echo 'Usage: archrm <path to checkout>' exit 1 fi # FIXME: Check if there are uncommited changes #pushd $1 # #popd rm -rf $1