diff --git a/Scripts/Bash/Functions/Help/Texinfo/texinfo_updateOutputFiles.sh b/Scripts/Bash/Functions/Help/Texinfo/texinfo_updateOutputFiles.sh index 72aa0d7..59704d3 100755 --- a/Scripts/Bash/Functions/Help/Texinfo/texinfo_updateOutputFiles.sh +++ b/Scripts/Bash/Functions/Help/Texinfo/texinfo_updateOutputFiles.sh @@ -32,6 +32,11 @@ function texinfo_updateOutputFiles { return fi + # Create output directory if it doesn't exist. + if [[ ! -d $(dirname $MANUAL_OUTPUT_BASEFILE) ]];then + mkdir -p $(dirname $MANUAL_OUTPUT_BASEFILE) + fi + # Print separator line. cli_printMessage "`gettext "Updating output files"`" --as-banner-line