| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function locale_prepareWorkingDirectory { |
| |
| local L10N_WORKDIR=$1 |
| |
| if [[ ! -d ${L10N_WORKDIR} ]];then |
| |
| |
| |
| |
| |
| mkdir -p ${L10N_WORKDIR} |
| |
| |
| |
| |
| |
| ${CLI_NAME} svn --commit "${L10N_BASEDIR}" |
| |
| elif [[ $L10N_WORKDIR == '' ]];then |
| |
| cli_printMessage "`gettext "The variable L10N_WORKDIR cannot be empty."`" --as-error-line |
| |
| fi |
| |
| } |