From 7dfa445c23e882635af2546e07714ca6642f6698 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 11 2012 18:56:15 +0000 Subject: Update `trunk/Scripts/Bash/Function/Commons' functionality to update documentation file paths. --- diff --git a/Scripts/Bash/Functions/Commons/cli_commitRepoChanges.sh b/Scripts/Bash/Functions/Commons/cli_commitRepoChanges.sh index 2d0802f..372e125 100755 --- a/Scripts/Bash/Functions/Commons/cli_commitRepoChanges.sh +++ b/Scripts/Bash/Functions/Commons/cli_commitRepoChanges.sh @@ -67,9 +67,9 @@ function cli_commitRepoChanges { fi # Process location based on its path information. - if [[ $LOCATION =~ '(trunk/Manuals/Tcar-fs|branches/Manuals/Texinfo)' ]];then + if [[ $LOCATION =~ '(trunk/Documentation/Manuals/Tcar-fs|branches/Documentation/Manuals/Texinfo)' ]];then STATUSOUT="$(svn status ${LOCATION} | egrep -v '(pdf|txt|xhtml|xml|docbook|bz2)$')\n$STATUSOUT" - elif [[ $LOCATION =~ 'trunk/Manuals' ]];then + elif [[ $LOCATION =~ 'trunk/Manuals/Documentation' ]];then STATUSOUT="$(svn status ${LOCATION} | egrep -v '(pdf|txt|xhtml)$')\n$STATUSOUT" elif [[ $LOCATION =~ 'trunk/Identity' ]];then STATUSOUT="$(svn status ${LOCATION} | egrep -v '(pdf|png|jpg|rc|xpm|xbm|tif|ppm|pnm|gz|lss|log)$')\n$STATUSOUT" diff --git a/Scripts/Bash/Functions/Commons/cli_getRepoParallelDirs.sh b/Scripts/Bash/Functions/Commons/cli_getRepoParallelDirs.sh index 3c09744..50507ed 100755 --- a/Scripts/Bash/Functions/Commons/cli_getRepoParallelDirs.sh +++ b/Scripts/Bash/Functions/Commons/cli_getRepoParallelDirs.sh @@ -44,7 +44,7 @@ function cli_getRepoParallelDirs { TDIR=$(cli_getRepoTLDir ${BOND}) # Define parallel directory base structures. - PDIRS[0]=Manuals/$(cli_getCurrentLocale)/Texinfo/Repository/$(cli_getRepoTLDir ${BOND} --relative) + PDIRS[0]=Documentation/Manuals/$(cli_getCurrentLocale)/Texinfo/Repository/$(cli_getRepoTLDir ${BOND} --relative) PDIRS[1]=Scripts/Bash/Functions/Render/Config PDIRS[2]=Locales diff --git a/Scripts/Bash/Functions/Commons/cli_isLocalized.sh b/Scripts/Bash/Functions/Commons/cli_isLocalized.sh index 702b488..97d782e 100755 --- a/Scripts/Bash/Functions/Commons/cli_isLocalized.sh +++ b/Scripts/Bash/Functions/Commons/cli_isLocalized.sh @@ -51,7 +51,7 @@ function cli_isLocalized { # locale-specific directories will be created for. DIRS[++((${#DIRS[*]}))]="$(cli_getRepoTLDir)/Identity/Models/Themes/[[:alnum:]-]+/(Distro/$(\ cli_getPathComponent --release-pattern)/Anaconda|Concept|Posters|Media)" - DIRS[++((${#DIRS[*]}))]="$(cli_getRepoTLDir)/Manuals/[[:alnum:]-]+$" + DIRS[++((${#DIRS[*]}))]="$(cli_getRepoTLDir)/Documentation/Manuals/[[:alnum:]-]+$" DIRS[++((${#DIRS[*]}))]="$(cli_getRepoTLDir)/Scripts/Bash$" # Verify location passed as first argument agains the list of