summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Scott <scottj@sou.edu>2020-11-22 11:53:51 -0800
committerJake Scott <scottj@sou.edu>2020-11-22 11:53:51 -0800
commitd0de57c5f5cebd4d4b3b3901964b65dcf0f6af6a (patch)
treeb839bca089822872c4b3a70bf9eae6038e28ce0a
parentdeda2254f33c31541296de688c2caeb49ab6ba9d (diff)
fixed typo in rm
-rwxr-xr-xrm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rm b/rm
index f85a305..5eda181 100755
--- a/rm
+++ b/rm
@@ -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."