From 3d0ed04f1ed07f20b837f3d5bf47a4cc0844e5a6 Mon Sep 17 00:00:00 2001 From: Fredo Date: Fri, 30 Dec 2016 12:07:49 +0100 Subject: [PATCH] Fix backup.sh for mysql-backup-s3 Fix a missing space which throw an error ``` backup.sh: line 47: syntax error: unexpected "then" (expecting "}") ``` --- mysql-backup-s3/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-backup-s3/backup.sh b/mysql-backup-s3/backup.sh index 81f0990..d53844c 100644 --- a/mysql-backup-s3/backup.sh +++ b/mysql-backup-s3/backup.sh @@ -44,7 +44,7 @@ copy_s3 () { SRC_FILE=$1 DEST_FILE=$2 - if[ "${S3_ENDPOINT}" == "**None**" ]; then + if [ "${S3_ENDPOINT}" == "**None**" ]; then AWS_ARGS="" else AWS_ARGS="--endpoint-url ${S3_ENDPOINT}"