Browse Source

Fix backup.sh for mysql-backup-s3

Fix a missing space which throw an error
```
backup.sh: line 47: syntax error: unexpected "then" (expecting "}")
```
pull/53/head
Fredo 8 years ago
committed by GitHub
parent
commit
3d0ed04f1e
  1. 2
      mysql-backup-s3/backup.sh

2
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}"

Loading…
Cancel
Save