diff --git a/Scripts/Functions/Render/render_getDirOutput.sh b/Scripts/Functions/Render/render_getDirOutput.sh index b529e68..8796d8f 100755 --- a/Scripts/Functions/Render/render_getDirOutput.sh +++ b/Scripts/Functions/Render/render_getDirOutput.sh @@ -43,15 +43,18 @@ function render_getDirOutput { # Redefine base output directory to introduce specific information # like release number and architecture. This information is # require by directories (e.g., the `Media' directory inside - # themes) whose need this information to be passed explicitly - # at the command-line through the `--releasever' and `--basearch' - # options. Other directories take such information from the path - # they are stored in (e.g., the `Distro/5/Anaconda' directory - # inside themes.). So, we need to differentiate the way - # information like release numbers and architectures are retrived - # in order to build the output path correctly at rendition time. + # themes and the `trunk/Manuals/Distro' directory ) whose need + # this information to be passed explicitly at the command-line + # through the `--releasever' and `--basearch' options. Other + # directories take such information from the path they are stored + # in (e.g., the `Distro/5/Anaconda' directory inside themes.). So, + # we need to differentiate the way information like release + # numbers and architectures are retrived in order to build the + # output path correctly at rendition time. if [[ $OUTPUT =~ "^${MOTIF_DIR}/Media$" ]];then OUTPUT=${OUTPUT}/${FLAG_RELEASEVER}/${FLAG_BASEARCH} + elif [[ $OUTPUT =~ 'trunk/Manuals/Distro$' ]];then + OUTPUT=${OUTPUT}/${FLAG_RELEASEVER} else OUTPUT=${OUTPUT} fi