diff options
author | Jake Scott <scottj@sou.edu> | 2020-11-22 11:53:51 -0800 |
---|---|---|
committer | Jake Scott <scottj@sou.edu> | 2020-11-22 11:53:51 -0800 |
commit | d0de57c5f5cebd4d4b3b3901964b65dcf0f6af6a (patch) | |
tree | b839bca089822872c4b3a70bf9eae6038e28ce0a | |
parent | deda2254f33c31541296de688c2caeb49ab6ba9d (diff) |
fixed typo in rm
-rwxr-xr-x | rm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,11 +17,11 @@ case $target in esac if [ -d "$target" ]; then - printf "Really delete? [y/N] " + printf "Confirm delete? [y/N] " read -r confirm if [ "${confirm,,}" = "y" ]; then rm -rf "${base_dir:?}/${target:?}" \ - && echo "${target} deleted" + && echo "Deleted Git repository: ${target}" fi else echo "$target does not exist." |