summary refs log tree commit diff stats
path: root/gmi2htmldir.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gmi2htmldir.sh')
-rwxr-xr-xgmi2htmldir.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/gmi2htmldir.sh b/gmi2htmldir.sh
index 42babfb..2a20673 100755
--- a/gmi2htmldir.sh
+++ b/gmi2htmldir.sh
@@ -18,19 +18,19 @@
 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #
 # usage:
-#   $ ./gmi2htmldir.sh <in> <out> title=<title> css=<css> url=<url>
+#   $ ./gmi2htmldir.sh <in> <out> title=<title> css=<css> original=<original>
 #
 # parameters:
 #   <in>: the folder of Gemini files to be converted
 #   <out>: the folder in which to put the generated HTML files
-#   <title>, <css>, <url>: parameters passed to gmi2html.awk; see gmi2html.awk for more details
+#   <title>, <css>, <original>: parameters passed to gmi2html.awk; see gmi2html.awk for more details
 #
 
 in=$1
 out=$2
 title=$3
 css=$4
-url=$5
+original=$5
 
 gmi2html=${PWD}/$(dirname $0)/gmi2html.awk
 
@@ -38,5 +38,5 @@ cd $in
 for f in *.gmi **/*.gmi; do
   HTML_FILENAME=$out/${f%.gmi}.html
   echo "processing: ${f} -> ${HTML_FILENAME}"
-  awk -f $gmi2html -v $title -v $css -v $url < $f > $HTML_FILENAME
+  awk -f $gmi2html -v $title -v $css -v $original < $f > $HTML_FILENAME
 done