This commit is contained in:
Mattias Andrée 2012-10-28 00:22:59 +02:00
parent de1bd77849
commit 1873279c5a

View file

@ -12,10 +12,11 @@ manual-update:
git stash pop git stash pop
git mv "./ponysay" "./pages" git mv "./ponysay" "./pages"
(for file in $$(echo "./pages/ponysay/*"); do \ (for file in $$(echo "./pages/ponysay/*"); do \
mv $$file $${file}~ \ mv $$file $${file}~; \
sed -e 's/^<\/head>$$/<link rel="stylesheet" type="text\/css" href="info.css">\\n<\/head>/' \ sed -e 's/^<\/head>$$/<link rel="stylesheet" type="text\/css" href="info.css">\\n<\/head>/' \
< $${file}~ > $$file; \ < $${file}~ > $$file; \
rm $${file}~; \ rm $${file}~; \
git add $${file}; \
done \ done \
) )