| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function path_doCopy { |
| |
| |
| cli_checkRepoDirTarget |
| |
| |
| cli_printActionPreamble "${FLAG_TO}" 'doCreate' 'AsResponseLine' |
| |
| |
| |
| |
| if [[ -f ${ACTIONVAL} ]];then |
| if [[ ! -d $(dirname "${FLAG_TO}") ]];then |
| mkdir -p $(dirname "${FLAG_TO}") |
| fi |
| svn add $(dirname "${FLAG_TO}") --quiet |
| fi |
| |
| |
| cli_printMessage "${FLAG_TO}" 'AsCreatingLine' |
| |
| |
| svn copy ${ACTIONVAL} ${FLAG_TO} --quiet |
| |
| |
| if [[ $FLAG_SYNC == 'true' ]];then |
| |
| |
| . /home/centos/bin/centos-art manual --copy="$ACTIONVAL" --to="$FLAG_TO" |
| . /home/centos/bin/centos-art render --copy="$ACTIONVAL" --to="$FLAG_TO" |
| . /home/centos/bin/centos-art locale --copy="$ACTIONVAL" --to="$FLAG_TO" |
| |
| fi |
| |
| } |