summaryrefslogtreecommitdiffstats
path: root/make-recipes.sh
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-21 17:23:08 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-21 17:23:08 +0000
commit49b2ae2e69e1a273b4d4a8746a872ec00b91c86f (patch)
treefad603e2bc2455e11e6ce65fc3e8acb3acc9389f /make-recipes.sh
parentb1ca8b5fbb263fd945f21d0ccff99f40a59d562b (diff)
downloadlibguestfs-49b2ae2e69e1a273b4d4a8746a872ec00b91c86f.tar.gz
libguestfs-49b2ae2e69e1a273b4d4a8746a872ec00b91c86f.tar.xz
libguestfs-49b2ae2e69e1a273b4d4a8746a872ec00b91c86f.zip
recipes: Refresh guestfish recipes.
Diffstat (limited to 'make-recipes.sh')
-rwxr-xr-xmake-recipes.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/make-recipes.sh b/make-recipes.sh
index a8ba4fe9..7bd81144 100755
--- a/make-recipes.sh
+++ b/make-recipes.sh
@@ -66,9 +66,9 @@ for f in recipes/*.sh; do
cat recipes/$b.html
fi
echo '<h3>'$b'.sh</h3>'
- echo '<pre class="example">'
- sed -e 's,&,\&amp;,g' -e 's,<,\&lt;,g' -e 's,>,\&gt;,g' < $f
- echo '</pre>'
+ echo '<div class="example">'
+ source-highlight --output=STDOUT --src-lang=sh --input=$f
+ echo '</div>'
if [ -r recipes/$b.example ]; then
echo '<h3>Example output</h3>'
echo '<pre>'