Fix sidecar extension, again
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
e743ec8037
commit
fd3bb92fd9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue