X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/2783a60d4aab84128ed175f030fc3cd6f30b3220..95df1235329282589487634575cb914db0254518:/vcsh diff --git a/vcsh b/vcsh index 496a43f..24c8921 100755 --- a/vcsh +++ b/vcsh @@ -25,12 +25,12 @@ while getopts "c:dv" flag; do if [ "$1" = '-d' ] || [ "$1" = '--debug' ]; then set -vx VCSH_DEBUG=1 - shift 1 elif [ "$1" = '-v' ];then VCSH_VERBOSE=1 elif [ "$1" = '-c' ];then VCSH_OPTION_CONFIG=$OPTARG fi + shift 1 done source_all() { @@ -151,7 +151,7 @@ To continue, type 'Yes, do as I say'" for file in $files; do rm -f $file || info "could not delete '$file', continuing with deletion" done - rm -r "$GIT_DIR" || error "could not delete '$GIT_DIR'" + rm -rf "$GIT_DIR" || error "could not delete '$GIT_DIR'" } enter() {