From 69073cb102520e885b09b73c53fb0aaae9a1abf7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 09 2012 01:28:18 +0000 Subject: Update `trunk/Scripts/Bash/Functions/Commons/cli_checkRepoDirSource.sh' file. --- diff --git a/Scripts/Bash/Functions/Commons/cli_checkRepoDirSource.sh b/Scripts/Bash/Functions/Commons/cli_checkRepoDirSource.sh index ea15d06..3e67220 100755 --- a/Scripts/Bash/Functions/Commons/cli_checkRepoDirSource.sh +++ b/Scripts/Bash/Functions/Commons/cli_checkRepoDirSource.sh @@ -52,7 +52,7 @@ function cli_checkRepoDirSource { # trunk/..., the /home/centos/artwork/ part is automatically added # here. if [[ $LOCATION =~ '^(trunk|branches|tags)' ]];then - LOCATION=${CLI_WRKCOPY}/$LOCATION + LOCATION=${TCAR_WORKDIR}/$LOCATION fi # Re-define source value to build repository absolute path from @@ -68,7 +68,7 @@ function cli_checkRepoDirSource { pushd "$LOCATION" > /dev/null # Check directory existence inside the repository. - if [[ $(pwd) =~ "^${CLI_WRKCOPY}" ]];then + if [[ $(pwd) =~ "^${TCAR_WORKDIR}" ]];then # Re-define source value using absolute path. LOCATION=$(pwd) else @@ -84,7 +84,7 @@ function cli_checkRepoDirSource { pushd "$(dirname "$LOCATION")" > /dev/null # Check directory existence inside the repository. - if [[ $(pwd) =~ "^${CLI_WRKCOPY}" ]];then + if [[ $(pwd) =~ "^${TCAR_WORKDIR}" ]];then # Re-define source value using absolute path. LOCATION=$(pwd)/$(basename "$LOCATION") else