Skip to content
Browse files

[scripts] fix the XML link generation

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
1 parent 529b166 commit 52bfd6906f6acc493a398a87d0ee4dd1e3fa3771 @hxw hxw committed
Showing with 10 additions and 2 deletions.
  1. +8 −0 scripts/ProcessAll
  2. +2 −2 scripts/progress
View
8 scripts/ProcessAll
@@ -74,6 +74,14 @@ do
done
;;
+ # link all data
+ link)
+ for l in cy de da el en es fi fr hu it ja ko nl no pt ru sr zh
+ do
+ progress -L"${l}" -x
+ done
+ ;;
+
# re-render a few
re-render)
progress -z 16:128ki --re-render 'de,en::::::-2,es,fr,ja,zh'
View
4 scripts/progress
@@ -302,9 +302,9 @@ do
;;
-x|--xml-link)
- for c in ${ListOfAllContentTypes}
+ for s in ${ListOfAllFilePrefixes}
do
- s=$(TypeToName "${c}")
+ #s=$(TypeToName "${c}")
RenderDo --yes ${render_host} ${list} --brief "cd '${base_dir}' &&
rm -f '${language}${s}-pages-articles.xml' &&
f=\$(ls -1 ../'${language}${s}'-*-pages-articles.xml 2>/dev/null | tail -n 1) &&

0 comments on commit 52bfd69

Please sign in to comment.
Something went wrong with that request. Please try again.