From d9a721e6441271415908c96fa96a3fe7fa387a86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Th=C3=A9r=C3=A8se=20Godefroy?= Date: Thu, 17 Jul 2014 16:10:49 +0200 Subject: [PATCH] fr: minor adjustments to the script. --- fr/kitchen/assemble-all-pages | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/fr/kitchen/assemble-all-pages b/fr/kitchen/assemble-all-pages index 35f7371..a3728d5 100755 --- a/fr/kitchen/assemble-all-pages +++ b/fr/kitchen/assemble-all-pages @@ -21,7 +21,7 @@ # next_steps.t.html # Includes: footer.html -# head.html +# head.html (contains 2 alternate sets of keywords) # javascript.html # translist.html @@ -51,17 +51,15 @@ else echo "There is no template in this directory." && exit 1 fi -# Add the includes to the templates. +## Add the includes to the templates. + while read name; do -# echo $name # Make sure there is a blank line before the first include, otherwise # it will not be added properly. - cp $name.t.html ../$name.html && sed -i '1i\\n' ../$name.html - + sed '1i\\n' $name.t.html > ../$name.html # List the includes. grep '^