Unquoted rm parameters

This commit is contained in:
Carlos Fenollosa 2013-03-07 22:29:18 +01:00
parent 21fac7e7a0
commit 28aa6a7842

2
bb.sh
View File

@ -590,7 +590,7 @@ reset() {
echo "Are you sure you want to delete all blog entries? Please write \"Yes, I am!\" " echo "Are you sure you want to delete all blog entries? Please write \"Yes, I am!\" "
read line read line
if [ "$line" == "Yes, I am!" ]; then if [ "$line" == "Yes, I am!" ]; then
rm "*.html" "*.css" "*.rss" rm *.html *.css *.rss
echo "Deleted all posts, stylesheets and feeds." echo "Deleted all posts, stylesheets and feeds."
else else
echo "Phew! You dodged a bullet there. Nothing was modified." echo "Phew! You dodged a bullet there. Nothing was modified."