| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function cli_getRepoParallelDirs { |
| |
| local BOND='' |
| local TDIR='' |
| local -a PDIRS |
| |
| |
| |
| if [[ "$1" != '' ]];then |
| BOND="$1" |
| elif [[ "$ACTIONVAL" != '' ]];then |
| BOND="$ACTIONVAL" |
| else |
| cli_printMessage "`gettext "The bond string is required."`" --as-error-line |
| fi |
| |
| |
| TDIR=$(cli_getRepoTLDir ${BOND}) |
| |
| |
| PDIRS[0]=Manuals/$(cli_getCurrentLocale)/Texinfo/Repository/$(cli_getRepoTLDir ${BOND} --relative) |
| PDIRS[1]=Scripts/Bash/Functions/Render/Config |
| PDIRS[2]=L10n |
| |
| |
| BOND=$(echo $BOND | sed -r "s,^${TDIR}/(.+)$,\1,") |
| |
| |
| |
| |
| for PDIR in "${PDIRS[@]}";do |
| echo ${TDIR}/${PDIR}/${BOND} |
| done |
| |
| } |