removed . files from sitemap
Modified `bin/status2html.sh` to remove . files from sitemap. Updated `sitemap.xml`. Changed `bin/status2html.sh` VERSION from "1.3.14 2024-08-19" to "1.3.15 2025-01-09". Performed `make gen_status gen_sitemap timestamp` on macOS to complete the above.
This commit is contained in:
1 parent
cf1074a9e2
commit
78521602c7
2 files changed
+12
-4134
No files matched your search
+11
-1
@@ -98,7 +98,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
|
||||
|
||||
# set variables referenced in the usage message
|
||||
#
|
||||
export VERSION="1.3.14 2024-08-19"
|
||||
export VERSION="1.3.15 2025-01-09"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -831,6 +831,16 @@ if [[ $EXIT_CODE -ne 0 ]]; then
|
||||
fi
|
||||
|
||||
|
||||
# remove all files that begin with .
|
||||
#
|
||||
sed -i -e '/\/\./d' "$TMP_MANIFEST_LIST"
|
||||
status="$?"
|
||||
if [[ $status -ne 0 ]]; then
|
||||
echo "$0: ERROR: sed -i -e '/\/\./d' $TMP_MANIFEST_LIST failed, error: $status" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# sort the manifest list
|
||||
#
|
||||
LC_ALL=C sort -d "$TMP_MANIFEST_LIST" -o "$TMP_MANIFEST_LIST"
|
||||
|
||||
Reference in new issue
Block a user