fix sed command
This commit is contained in:
parent
87eaff16c4
commit
975199d535
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ in {
|
|||
|
||||
script = ''
|
||||
ageRecipient="age17ckyc69njpryytc63ynn545jswyucg28k5xg3043g3j6q38dxqwq0wzhm2"
|
||||
bucket="$(grep 'bucket=' < "${backupConfigFile}" | sed 's/bucket \?= \?')"
|
||||
prefix="$(grep 'prefix=' < "${backupConfigFile}" | sed 's/prefix \?= \?')"
|
||||
bucket="$(grep 'bucket=' < "${backupConfigFile}" | sed 's/bucket \?= \?//g')"
|
||||
prefix="$(grep 'prefix=' < "${backupConfigFile}" | sed 's/prefix \?= \?//g')"
|
||||
|
||||
s3Dir="s3://$bucket/$prefix""misskey-$(date +'%d-%m-%YT%H.%M.%S')"
|
||||
echo "Uploading backups to '$s3Dir'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue