Some command line options are not GNU/POSIX compliant (3)
[geeqie.git] / gen_readme.sh
1 #!/bin/bash
2
3 # Script to create README.html file,
4
5 [ ! -e "README.md" ] && exit 1
6 [ ! -x "$(command -v markdown)" ] && exit 0
7
8 [ -e README.html ] && mv -f README.html README.html.bak
9
10 markdown README.md > README.html
11
12 exit 0