summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-05-25 22:07:34 +0100
committerPaul Buetow <git@mx.buetow.org>2021-05-25 22:07:34 +0100
commitb7489882bc82e4266e9cb9845604acdf20857c23 (patch)
treece5e9e8be5890762c58bf6ae3a7db1cbb87265e9 /packages
parentccadfe16dd8c41e580ff39ec783093739d7d1f6c (diff)
fix grammar
Diffstat (limited to 'packages')
-rw-r--r--packages/generate.source.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/generate.source.sh b/packages/generate.source.sh
index 98cd215..6f042eb 100644
--- a/packages/generate.source.sh
+++ b/packages/generate.source.sh
@@ -139,9 +139,10 @@ generate::fromgmi () {
# Remove obsolete files from ./html/.
# Note: The _config.yml is the config file for GitHub pages (md format).
+ # Anoter note: The CNAME file is required by GitHub pages as well for custom domains.
for format in "$@"; do
find "$CONTENT_BASE_DIR/$format" -type f |
- $GREP -E -v '(\.git.*|_config.yml)$'|
+ $GREP -E -v '(\.git.*|_config.yml|CNAME)$'|
while read -r src; do
generate::fromgmi_cleanup_docs "$src" "$format"
done