adopt directory structure changes
continuous-integration/drone/push Build is passing

some websites are now in different directories, or like the fsfe.org website moved into a directory. This adopts the file system changes. Overtakes 94ca7ac783
This commit is contained in:
2025-08-01 11:15:43 +02:00
parent 9416d25c70
commit 17d05216af
+1 -1
View File
@@ -259,7 +259,7 @@ for f in $files_all; do
# Check absolute links to fsfe.org
# ---------------------------------------------------------------------------
fileregex="(\.xhtml$|\.xml$)"
exclude="^(drm.info|pdfreaders|global|cgi-bin|build|scripts|events)"
exclude="^(drm\.info|pdfreaders\.org|global|fsfe\.org\/cgi-bin|build|fsfe\.org\/scripts|fsfe\.org\/events)"
if matchfile "${f}" "${fileregex}" "${exclude}"; then
if xmllint --xpath "//a/@href" "${f}" 2>/dev/null \
| sed -E 's/([^\r\n]) (href=)/\1\n \2/g' \