[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-653-gacea65bea

git at osgeo.org git at osgeo.org
Sun Oct 1 01:56:39 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  acea65beac6b3cef78ff0fcd2457fb8cb0b4fe96 (commit)
      from  350388204951da124489290bfe039169da9db7d4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit acea65beac6b3cef78ff0fcd2457fb8cb0b4fe96
Author: Sandro Santilli <strk at kbt.io>
Date:   Sun Oct 1 10:56:24 2023 +0200

    [debbie] Fix renaming of chunked-html directories

diff --git a/ci/debbie/postgis_release_docs.sh b/ci/debbie/postgis_release_docs.sh
index ae1357d32..8b67dd0bf 100644
--- a/ci/debbie/postgis_release_docs.sh
+++ b/ci/debbie/postgis_release_docs.sh
@@ -90,18 +90,20 @@ make chunked-html-install-localized
 make cheatsheet-install
 make cheatsheet-install-localized
 
-# Strip out the "postgis-web-" suffix
+# Strip out the "postgis-" suffix
 # from chunked html directories, backing
 # up any previous target directory
-for f in ${HTML_DIR}/postgis-web-*; do
-  if test -e $f; then
-    nf=$(echo $f| sed 's/postgis-web-//');
-    if test -e $nf; then
-      rm -rf $nf.old
-      mv -v $nf $nf.old
-    fi
-    mv -v $f $nf;
+for f in $(
+  find ${HTML_DIR} -type d \
+    -maxdepth 1 -mindepth 1 \
+    -name 'postgis-*'
+); do
+  nf=$(echo $f| sed 's/postgis-//');
+  if test -e $nf; then
+    rm -rf $nf.old
+    mv -v $nf $nf.old
   fi
+  mv -v $f $nf;
 done
 
 

-----------------------------------------------------------------------

Summary of changes:
 ci/debbie/postgis_release_docs.sh | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list