summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-02-03 00:02:25 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-02-03 00:02:25 +0100
commit36ecf5c4ad34fc17c5d82fe07c57096210136474 (patch)
treed7edd1a4b3a13d90b7fdcc06175cf96c9b6b0956
parent53999ba333b5203fe16a334701e690d52132c799 (diff)
downloadPROJ-data-36ecf5c4ad34fc17c5d82fe07c57096210136474.tar.gz
PROJ-data-36ecf5c4ad34fc17c5d82fe07c57096210136474.zip
sync_to_cdn.sh: do not upload grid_tools/ directory
-rwxr-xr-xsync_to_cdn.sh6
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