Merge pull request #1758 from SkynetLabs/make-backup-script-executable
make backup script executable
This commit is contained in:
commit
82bb85666c
|
@ -22,7 +22,7 @@ done
|
|||
|
||||
# create bucket skynet-backup-[portaldomain] (portal domain is stripped of all non alnum characters)
|
||||
# ie. siasky.net backup results in skynet-backup-siaskynet basket name
|
||||
BUCKET_NAME=$(echo skynet-backup-${PORTAL_DOMAIN} | tr -cd '[[:alnum:]]')
|
||||
BUCKET_NAME=$(echo skynet-backup-${PORTAL_DOMAIN} | tr -cd '[[:alnum:]]-')
|
||||
|
||||
# create server prefix
|
||||
if test -z "${SERVER_DOMAIN}"; then
|
||||
|
|
Reference in New Issue