Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Knox committed May 12, 2016
1 parent e443955 commit 410b738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync.sh
@@ -1,6 +1,6 @@
#!/bin/bash

synced=$(aws s3 sync s3://wwwtest.dragonfly.co.nz s3://test.dragonfly.co.nz --acl public-read | sed 's/\r/\n/')
synced=$(aws s3 sync s3://wwwtest.dragonfly.co.nz s3://www.dragonfly.co.nz --acl public-read | sed 's/\r/\n/')
if [ "$synced" != "" ]; then
aws cloudfront create-invalidation --distribution-id $1 \
--paths $(for s in $synced; do echo $s; done | grep _site | sed 's/_site//' | tr '\n' ' ' )
Expand Down

0 comments on commit 410b738

Please sign in to comment.