diff --git a/Scripts/Bash/Functions/Help/Texinfo/texinfo_createChapter.sh b/Scripts/Bash/Functions/Help/Texinfo/texinfo_createChapter.sh index f11287f..d142442 100755 --- a/Scripts/Bash/Functions/Help/Texinfo/texinfo_createChapter.sh +++ b/Scripts/Bash/Functions/Help/Texinfo/texinfo_createChapter.sh @@ -57,7 +57,7 @@ function texinfo_createChapter { local FILE='' local FILES=$(cli_getFilesList "${MANUAL_TEMPLATE_L10N}/Chapters" \ --maxdepth='1' \ - --pattern="chapter(-menu|-nodes)?\.${MANUAL_EXTENSION}") + --pattern="^.+/chapter(-menu|-nodes)?\.${MANUAL_EXTENSION}$") # Create chapter directory using subversion. This is the place # where all chapter-specific files will be stored in.