From 36ecf5c4ad34fc17c5d82fe07c57096210136474 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 3 Feb 2020 00:02:25 +0100 Subject: sync_to_cdn.sh: do not upload grid_tools/ directory --- sync_to_cdn.sh | 6 ++++-- 1 file 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 -- cgit v1.2.3