summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a02f81d)
raw | patch | inline | side by side (parent: a02f81d)
author | dave russo <d-russo@ti.com> | |
Fri, 6 Nov 2015 18:53:00 +0000 (10:53 -0800) | ||
committer | dave russo <d-russo@ti.com> | |
Fri, 6 Nov 2015 18:53:00 +0000 (10:53 -0800) |
etc/md2html.ksh | patch | blob | history |
diff --git a/etc/md2html.ksh b/etc/md2html.ksh
index 35f4c07642d3619f6d36674698642e729713d149..702e34e0f9b079dc88a2ae45a664c576cee5e2d3 100644 (file)
--- a/etc/md2html.ksh
+++ b/etc/md2html.ksh
-#!/bin/ksh
+#!/bin/sh
#
# Convert a markdown file to an html file
#
-# usage: ms2html <markdown_file>
+# usage: md2html <markdown_file>
#
# html content is output to stdout.
#
echo ' </style>'
echo ' </head>'
echo ' <body ><article class="markdown-body">'
-perl etc/Markdown.pl $1
+perl `dirname $0`/Markdown.pl $1
echo ' </article></body>'
echo '</html>'