Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Double up the curly braces because reasons.
[releng.git]
/
jjb
/
opnfvdocs
/
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