typos
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Wed, 16 Feb 2005 15:55:27 +0000 (15:55 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:10 +0000 (23:28 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-476

bin/lists.make_tpl.sh

index 6b9897a..adda9e9 100755 (executable)
@@ -17,9 +17,8 @@ mkdir -p "$TARGET"
 
 for tpl in $TEMPLATES/*txt
 do
-    template=${tpl#$TEMPLATES/}
-    cat $template \
+    cat $tpl \
     | sed -e "s,{{{ALIST}}},$ALIST,g ; s,{{{LIST}}},$LIST,g ; s,{{{ADMIN}}},$ADMIN,g ; s,{{{MEMBERS}}},$MEMBERS,g ; s,{{{MODERATE}}},$MODERATE,g" \
-    > "$TARGET/$template"
+    > "$TARGET/${tpl#$TEMPLATES/}
 done