Double up the curly braces because reasons.
[releng.git] / jjb / opnfvdocs / build-docu.sh
index 1ea9d0e..5718b07 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 for file in $(find . -type f -iname '*.rst'); do
-       file_cut="${file%.*}"
+       file_cut="${{file%.*}}"
         html_file=$file_cut".html"
         pdf_file=$file_cut".pdf"
         rst2html $file > $html_file