From 02e00f18898646b5cae85cce900139697bdcbc10 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Nov 26 2010 15:32:18 +0000 Subject: Fix `caller' built-in call insie cli_checkOptionValue.sh file. --- diff --git a/Scripts/Bash/Functions/cli_checkOptionValue.sh b/Scripts/Bash/Functions/cli_checkOptionValue.sh index 9c586f9..50845c3 100755 --- a/Scripts/Bash/Functions/cli_checkOptionValue.sh +++ b/Scripts/Bash/Functions/cli_checkOptionValue.sh @@ -67,7 +67,7 @@ function cli_checkActionArgument { ACTIONVAL=$(pwd) else cli_printMessage "`gettext "The location provided is not valid."`" 'AsErrorLine' - cli_printMessage "$caller" 'AsToKnowMoreLine' + cli_printMessage "$(caller)" 'AsToKnowMoreLine' fi # Remove directory from the directory stack. @@ -84,7 +84,7 @@ function cli_checkActionArgument { ACTIONVAL=$(pwd)/$(basename $ACTIONVAL) else cli_printMessage "`gettext "The location provided is not valid."`" 'AsErrorLine' - cli_printMessage "$caller" 'AsToKnowMoreLine' + cli_printMessage "$(caller)" 'AsToKnowMoreLine' fi # Remove directory from the directory stack. @@ -95,7 +95,7 @@ function cli_checkActionArgument { # Check repository url. if [[ ! $ACTIONVAL =~ '^(https|http)://projects.centos.org/svn/artwork/.+$' ]];then cli_printMessage "`gettext "The location provided is not valid."`" 'AsErrorLine' - cli_printMessage "$caller" 'AsToKnowMoreLine' + cli_printMessage "$(caller)" 'AsToKnowMoreLine' fi fi