diff options
Diffstat (limited to 'bin/build/roverlay_rst2html.sh')
-rwxr-xr-x | bin/build/roverlay_rst2html.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/build/roverlay_rst2html.sh b/bin/build/roverlay_rst2html.sh new file mode 100755 index 0000000..a3450db --- /dev/null +++ b/bin/build/roverlay_rst2html.sh @@ -0,0 +1,13 @@ +#!/bin/sh -u +die_usage() { echo "usage: $0 <rst file> <html file>"; exit 1; } + +[ $# -eq 2 ] || die_usage + +from="${1}" +to="${2}" + +[ -r "${from}" ] || die_usage + +TITLE='Automatically Generated Overlay of R packages' + +rst2html.py --title "${TITLE}" --date "${from}" "${to}" |