view gen_readme.sh @ 2802:34fd30078c53

Bug fix: Preserve cache mode In some circumstances, the selected cache mode was not preserved
author Colin Clark <colin.clark@cclark.uk>
date Sat, 21 Jul 2018 12:34:02 +0100
parents e083bab50112
children
line wrap: on
line source

#!/bin/bash

# Script to create README.html file,

[ ! -e "README.md" ] && exit 1
[ ! -x "$(command -v markdown)" ] && exit 0

[ -e README.html ] && mv -f README.html README.html.bak

markdown README.md > README.html

exit 0