summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2017-05-23 16:31:27 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2017-05-23 16:31:27 -0500
commitb8a1797e1511bdee779112f09b1e64098591b9fe (patch)
tree693c2c6513941f9550a3be2e05fa4e53f3f1fb7d /solenv
parentc137857d5bbe6bc25fbc8bd29b0dafcbe67dea91 (diff)
mkdocs_portal: reset local variable in loop
Change-Id: I0c66717c0fac6d4d1bb6a33b8a196066f0f880d1
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/mkdocs_portal.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/bin/mkdocs_portal.sh b/solenv/bin/mkdocs_portal.sh
index 468e94d68f73..352d2a7bb570 100755
--- a/solenv/bin/mkdocs_portal.sh
+++ b/solenv/bin/mkdocs_portal.sh
@@ -95,6 +95,7 @@ header "LibreOffice Modules" " " "$BASE_OUTPUT/index.html"
for module_name in *; do
if [ -d $module_name ]; then
+ cur_file=
if [ -f $module_name/readme.txt ] ; then
cur_file="$module_name/readme.txt"
elif [ -f $module_name/README ] ; then