From 00f591547822c0f8dff34bf72a9c5fafb6161f32 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Nov 30 2010 14:10:22 +0000 Subject: Update cli_commitRepoChanges.sh. Unquote ${FILES[6]} inside the `for' construction to interpret each line, inside the variable, independently one another. Otherwise, if quoted, just the first line is used. --- diff --git a/Scripts/Bash/Functions/cli_commitRepoChanges.sh b/Scripts/Bash/Functions/cli_commitRepoChanges.sh index 40f5a0e..6dfc30e 100755 --- a/Scripts/Bash/Functions/cli_commitRepoChanges.sh +++ b/Scripts/Bash/Functions/cli_commitRepoChanges.sh @@ -150,9 +150,9 @@ function cli_commitRepoChanges { # the repository. This may happen when new documentation entries # are created. if [[ ${FILESNUM[6]} -gt 0 ]];then - cli_printMessage "`eval_gettext "The following file is unversioned" \ - "The following files are unversioned" ${FILESNUM[6]}`:" - for FILE in "${FILES[6]}";do + cli_printMessage "`ngettext "The following file is unversioned" \ + "The following files are unversioned" ${FILESNUM[6]}`:" + for FILE in ${FILES[6]};do cli_printMessage $FILE 'AsResponseLine' done cli_printMessage "`gettext "Do you want to add them now?"`" 'AsYesOrNoRequestLine'