Double up the curly braces because reasons.
[releng.git] / jjb / pharos / build-docu.sh
1 #!/bin/bash
2 for file in $(find . -type f -iname '*.rst'); do
3         file_cut="${{file%.*}}"
4         html_file=$file_cut".html"
5         pdf_file=$file_cut".pdf"
6         rst2html $file > $html_file
7         rst2pdf $file -o $pdf_file
8 done