From 747c0855eeef1acec445ff8c4f254c7bc5df7adf Mon Sep 17 00:00:00 2001 From: Julian Gruber Date: Thu, 7 Mar 2013 20:34:28 +0100 Subject: [PATCH 1/3] removed superfluous comment --- bb.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/bb.sh b/bb.sh index 3380c98..4c19312 100755 --- a/bb.sh +++ b/bb.sh @@ -86,8 +86,6 @@ # Global variables # It is recommended to perform a 'rebuild' after changing any of this in the code global_variables() { - # If you want to fork the project please contact me first, I wouldn't mind opening a git - # or some shared code base and collaborate with other people. global_software_name="BashBlog" global_software_version="1.5.1" From 6aa041af5ec0c3e044b9a412b34eab8bae77e3ba Mon Sep 17 00:00:00 2001 From: Pascal Borreli Date: Thu, 7 Mar 2013 20:51:54 +0000 Subject: [PATCH 2/3] Fixed typos --- bb.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bb.sh b/bb.sh index 3380c98..2e2d309 100755 --- a/bb.sh +++ b/bb.sh @@ -172,7 +172,7 @@ google_analytics() { # Please note that this function does not automatically republish anything, as # it is usually called from 'main'. # -# 'edit' is kind of an advanced function, as it leaves to the user the responsability +# 'edit' is kind of an advanced function, as it leaves to the user the responsibility # of editing an html file # # $1 the file to edit @@ -407,7 +407,7 @@ rebuild_index() { if [ "$global_feedburner" == "" ]; then echo '' >> "$contentfile" else - echo '' >> "$contentfile" + echo '' >> "$contentfile" fi echo "" @@ -600,7 +600,7 @@ reset() { } # Main function -# Encapsuled on its own function for readability purposes +# Encapsulated on its own function for readability purposes # # $1 command to run # $2 file name of a draft to continue editing (optional) From 28aa6a78426de6ee82a98fdc93756bfc706e8b0e Mon Sep 17 00:00:00 2001 From: Carlos Fenollosa Date: Thu, 7 Mar 2013 22:29:18 +0100 Subject: [PATCH 3/3] Unquoted rm parameters --- bb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bb.sh b/bb.sh index 609685a..d5398d2 100755 --- a/bb.sh +++ b/bb.sh @@ -590,7 +590,7 @@ reset() { echo "Are you sure you want to delete all blog entries? Please write \"Yes, I am!\" " read line if [ "$line" == "Yes, I am!" ]; then - rm "*.html" "*.css" "*.rss" + rm *.html *.css *.rss echo "Deleted all posts, stylesheets and feeds." else echo "Phew! You dodged a bullet there. Nothing was modified."