Author: tchemit Date: 2014-07-20 15:40:37 +0200 (Sun, 20 Jul 2014) New Revision: 99 Url: http://forge.codelutin.com/projects/adminsys/repository/revisions/99 Log: fixes #5465 Modified: scripts/redmine-tools/project-list.rb Modified: scripts/redmine-tools/project-list.rb =================================================================== --- scripts/redmine-tools/project-list.rb 2014-07-20 11:14:47 UTC (rev 98) +++ scripts/redmine-tools/project-list.rb 2014-07-20 13:40:37 UTC (rev 99) @@ -145,7 +145,7 @@ # used redirect to /dev/null, because -q grep option return 'close failed: [Errno 32] Broken pipe' # cmd = "list_lists -V #{listDomain} | grep -i #{listname} &> /dev/null" # tchemit 12011-10-29 On est sur le meme domaine pour toutes nos forges. - cmd = "list_lists | grep -i #{listname}" + cmd ="list_lists | grep -i \" #{listname}\"" system(cmd) && $? && $?.exitstatus == 0 ? false : true end
participants (1)
-
tchemit@users.forge.codelutin.com