[SCM] PostGIS branch master updated. 3.6.0rc2-133-gd1c28c62c

git at osgeo.org git at osgeo.org
Fri Oct 10 13:02:35 PDT 2025


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  d1c28c62c4c5de585a11c6b07cd34e7576546d09 (commit)
      from  87f1ded8cf25763cdf9f15142bb1219abcce2a57 (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 d1c28c62c4c5de585a11c6b07cd34e7576546d09
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Oct 10 21:59:20 2025 +0200

    Be safe about expanding $@

diff --git a/doc/po/fix_broken_xml.sh b/doc/po/fix_broken_xml.sh
index 6f3f23644..34590d651 100755
--- a/doc/po/fix_broken_xml.sh
+++ b/doc/po/fix_broken_xml.sh
@@ -1,17 +1,17 @@
 #!/bin/sh
 
 # Fix malformed entities
-perl -pi -e 's/&([#a-z_0-9]+)[^#a-z0-9;]+;/&\1;/g' $@
+perl -pi -e 's/&([#a-z_0-9]+)[^#a-z0-9;]+;/&\1;/g' "$@"
 
 # Fix malformed CDATA
-perl -pi -e 's/<[^[>\\]*!\[CDATA\[/<!\[CDATA\[/g' $@
+perl -pi -e 's/<[^[>\\]*!\[CDATA\[/<!\[CDATA\[/g' "$@"
 
 # Fix malformed URIs (-C is for unicode)
-perl -C -pi -e 's/(https?)[[:blank:]]*:/\1:/g' $@
+perl -C -pi -e 's/(https?)[[:blank:]]*:/\1:/g' "$@"
 
 # Fix smart quotes
-perl -pi -e 's/”/\\"/g' $@
-perl -pi -e 's/“/\\"/g' $@
-perl -pi -e 's/«/\\"/g' $@
-perl -pi -e 's/»/\\"/g' $@
+perl -pi -e 's/”/\\"/g' "$@"
+perl -pi -e 's/“/\\"/g' "$@"
+perl -pi -e 's/«/\\"/g' "$@"
+perl -pi -e 's/»/\\"/g' "$@"
 

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

Summary of changes:
 doc/po/fix_broken_xml.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list