Commit d006aa8ff71022ac8fb79bc0fdb79066cdd5fe10

Authored by nollieheel
1 parent 5a2d83ea

Version v0.3.3. Fix missing end quotes in script.

  1 +## 0.3.3 - 2016-11-29
  2 +### Fixed
  3 +- A typo in the backup script (missing end quotes).
  4 +
1 ## 0.3.2 - 2016-11-29 5 ## 0.3.2 - 2016-11-29
2 ### Fixed 6 ### Fixed
3 - Reverted previous fix: paramter 'creates' for 'aws_tar_extract' should be mandatory. 7 - Reverted previous fix: paramter 'creates' for 'aws_tar_extract' should be mandatory.
@@ -4,7 +4,7 @@ maintainer_email 'sysadmin@chromedia.com' @@ -4,7 +4,7 @@ maintainer_email 'sysadmin@chromedia.com'
4 license 'Apache License' 4 license 'Apache License'
5 description 'Creates a script to backup directories into an S3 bucket.' 5 description 'Creates a script to backup directories into an S3 bucket.'
6 long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) 6 long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7 -version '0.3.2' 7 +version '0.3.3'
8 8
9 depends 'awscli', '~> 1.0.1' 9 depends 'awscli', '~> 1.0.1'
10 depends 'cron', '~> 1.7.4' 10 depends 'cron', '~> 1.7.4'
@@ -105,7 +105,7 @@ upload_to_s3() { @@ -105,7 +105,7 @@ upload_to_s3() {
105 105
106 echo "$(date) : Upload ${fname} to S3 bucket ${bucket}" 106 echo "$(date) : Upload ${fname} to S3 bucket ${bucket}"
107 107
108 - stamp=$( date +"%FT%T ) 108 + stamp=$( date +"%FT%T" )
109 echo "Uploaded: ${stamp}" > "${bak_dir}/${stamp}.txt" 109 echo "Uploaded: ${stamp}" > "${bak_dir}/${stamp}.txt"
110 110
111 "$aws_bin" --region "$region" \ 111 "$aws_bin" --region "$region" \