Fix sidecar extension, again
the build was successful Details

This commit is contained in:
Ulf Jasper 2019-06-01 20:01:31 +02:00
parent e743ec8037
commit fd3bb92fd9
3 changed files with 3 additions and 3 deletions

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

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

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"