Double up the curly braces because reasons.
[releng.git] / jjb / functest / build-docu.sh
index 680686e..7970564 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