X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/eb172dd760c077bae0b94756e28b4e7a935b74ca..fa5eca15ba144e7d7829e3cdc0c0109adc8ca199:/vcsh?ds=sidebyside diff --git a/vcsh b/vcsh index 4fb1c45..bd0eca1 100755 --- a/vcsh +++ b/vcsh @@ -138,7 +138,7 @@ clone() { delete() { cd "$VCSH_BASE" || fatal "could not enter '$VCSH_BASE'" 11 use - info "This operation WILL DETROY DATA!" + info "This operation WILL DESTROY DATA!" files=$(git ls-files) echo "These files will be deleted: @@ -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() {