Browse Source

Fix sidecar extension, again

pull/974/head
Ulf Jasper 4 months ago
parent
commit
fd3bb92fd9
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      build/makerules.sh
  2. 1
    1
      build/scaffold.sh
  3. 1
    1
      tools/update_xmllists.sh

+ 1
- 1
build/makerules.sh View File

@@ -203,7 +203,7 @@ COPY_SRC_FILES := \$(shell find "\$(INPUTDIR)" -type f \
-not -name '*.xhtml' \
-not -name '*.xml' \
-not -name '*.xsl' \
-not -name '*.otsc' \
-not -name '*.outdated-translations' \
)

# The same as above, but moved to the output directory

+ 1
- 1
build/scaffold.sh View File

@@ -25,7 +25,7 @@ build_xmlstream(){
if [ -f "${shortname}.${lang}.xhtml" ]; then
act_lang="$lang"
basename=${shortname/*\/}
outdatedtranslations="${dirname}.${basename}.outdated-translations"
outdatedtranslations="${dirname}.${basename}.en.xhtml.outdated-translations"
if [ -f "${outdatedtranslations}" ]; then
grep -q "${lang}.xhtml" "${outdatedtranslations}" && outdated=yes
else

+ 1
- 1
tools/update_xmllists.sh View File

@@ -97,7 +97,7 @@ rm -f "tags/tagged-front-page.en.xhtml" # We don't want that one
# Remove the files for tags which have been completely deleted
# -----------------------------------------------------------------------------

for tag in $(ls "tags" | grep -v ".otsc$" | sed -rn 's/tagged-(.*)\.en.xhtml/\1/p'); do
for tag in $(ls "tags" | sed -rn 's/tagged-(.*)\.en.xhtml/\1/p'); do
if [ ! -f "${tagmaps}/${tag}" ]; then
echo "* Deleting tags/tagged-${tag}.en.xhtml"
rm "tags/tagged-${tag}.en.xhtml"

Loading…
Cancel
Save