diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-20 10:59:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:33 +0200 |
commit | 41b2abbbdcc21c758fcb2f485e4e7bb6898830cf (patch) | |
tree | a5430d049c38d77132b1496bcef367ad7821d8ec /doc/cli.sh | |
parent | df2397310147ac56b33f8c0a83affa6ca61d1d23 (diff) |
Fix incorrect version in doc/cli.sh
Diffstat (limited to 'doc/cli.sh')
-rwxr-xr-x | doc/cli.sh | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -61,7 +61,10 @@ done # Manual. # -cli -I .. -v version="$version" -v date="$date" \ + +cli -I .. \ +-v version="$(echo "$version" | sed -e 's/^\([^.]*\.[^.]*\).*/\1/')" \ +-v date="$date" \ --generate-html --html-suffix .xhtml \ --html-prologue-file doc-prologue.xhtml \ --html-epilogue-file doc-epilogue.xhtml \ @@ -75,7 +78,9 @@ ps2pdf14 -sPAPERSIZE=letter -dOptimize=true -dEmbedAllFonts=true build2-build-sy # Testscript spec. # -cli -I .. -v version="$version" -v date="$date" \ +cli -I .. \ +-v version="$(echo "$version" | sed -e 's/^\([^.]*\.[^.]*\).*/\1/')" \ +-v date="$date" \ --generate-html --html-suffix .xhtml \ --html-prologue-file doc-prologue.xhtml \ --html-epilogue-file doc-epilogue.xhtml \ |