diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-02-03 00:02:25 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-02-03 00:02:25 +0100 |
| commit | 36ecf5c4ad34fc17c5d82fe07c57096210136474 (patch) | |
| tree | d7edd1a4b3a13d90b7fdcc06175cf96c9b6b0956 | |
| parent | 53999ba333b5203fe16a334701e690d52132c799 (diff) | |
| download | PROJ-data-36ecf5c4ad34fc17c5d82fe07c57096210136474.tar.gz PROJ-data-36ecf5c4ad34fc17c5d82fe07c57096210136474.zip | |
sync_to_cdn.sh: do not upload grid_tools/ directory
| -rwxr-xr-x | sync_to_cdn.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sync_to_cdn.sh b/sync_to_cdn.sh index 46191f2..80dced6 100755 --- a/sync_to_cdn.sh +++ b/sync_to_cdn.sh @@ -3,8 +3,10 @@ TARGET=s3://cdn.proj.org/ for i in `ls -d *_*/`; do - echo "Synchronizing $i ..." - aws s3 sync $i "$TARGET" --exclude ".github/*" --profile projcdn + if test "$i" != "grid_tools/"; then + echo "Synchronizing $i ..." + aws s3 sync $i "$TARGET" --exclude ".github/*" --profile projcdn + fi done aws s3 cp geotiff.bundle.min.js "$TARGET" --profile projcdn aws s3 cp ol.js "$TARGET" --profile projcdn |
