From 91a9c26e79da175dc715eb0f9f78728754874c4a Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 15 2013 19:57:03 +0000 Subject: Fix variable name in cli_printMessage function. --- diff --git a/Automation/Modules/Cli/Scripts/cli_printMessage.sh b/Automation/Modules/Cli/Scripts/cli_printMessage.sh index 4d156c5..0113386 100755 --- a/Automation/Modules/Cli/Scripts/cli_printMessage.sh +++ b/Automation/Modules/Cli/Scripts/cli_printMessage.sh @@ -56,7 +56,7 @@ function cli_printMessage { # paths in order to free horizontal space on final output # messages. echo "${MESSAGE}" | sed -r \ - -e "s!${TCAR_USER_WRKDIR}/!!g" \ + -e "s!${TCAR_BASEDIR}/!!g" \ -e "s!> /!> !g" \ -e "s!/{2,}!/!g" \ | gawk 'BEGIN { FS=": " } @@ -154,12 +154,12 @@ function cli_printMessage { --as-notrailingnew-line ) echo -e -n "${MESSAGE}" | sed -r \ - -e "s!${TCAR_USER_WRKDIR}/!!g" 1>&2 + -e "s!${TCAR_BASEDIR}/!!g" 1>&2 ;; --as-stderr-line ) echo "${MESSAGE}" | sed -r \ - -e "s!${TCAR_USER_WRKDIR}/!!g" 1>&2 + -e "s!${TCAR_BASEDIR}/!!g" 1>&2 ;; esac