From abcddfa92234fc9810673a4a6b9c0072d0a47ac5 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jan 06 2011 22:18:08 +0000 Subject: Update cli_checkFiles.sh: - Remove `Do you want to create it now?' question and mkdir command when directory verification takes place. Use just the MESSAGE variable to keep consistency with other options below. --- diff --git a/Scripts/Bash/Functions/cli_checkFiles.sh b/Scripts/Bash/Functions/cli_checkFiles.sh index 7795d36..e535111 100644 --- a/Scripts/Bash/Functions/cli_checkFiles.sh +++ b/Scripts/Bash/Functions/cli_checkFiles.sh @@ -61,9 +61,7 @@ function cli_checkFiles { d | directory ) # File exists and is a directory if [[ ! -d $FILE ]];then - cli_printMessage "`eval_gettext "The directory \\\"\\\$FILE\\\" doesn't exist."`" - cli_printMessage "`gettext "Do you want to create it now?"`" 'AsYesOrNoRequestLine' - mkdir -p $FILE + MESSAGE="`eval_gettext "The directory \\\"\\\$FILE\\\" doesn't exist."`" fi ;;