From 3a7ab71ea7e7041dba6abd40da6215ecaba1303b Mon Sep 17 00:00:00 2001 From: wmorgan Date: Mon, 4 Jun 2007 04:35:50 +0000 Subject: [PATCH] bugfix: empty labels for sup-config git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@432 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- bin/sup-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sup-config b/bin/sup-config index 1cd244a..57085fd 100644 --- a/bin/sup-config +++ b/bin/sup-config @@ -78,7 +78,7 @@ def add_source return if srv.nil? || srv.empty? $last_server = srv - fn = axe "What's the full path to the mbox file?", $last_fn #" stupid ruby-mode + fn = axe "What's the path to the mbox file?", $last_fn #" stupid ruby-mode return if fn.nil? || fn.empty? $last_fn = fn fn = "/#{fn}" # lame @@ -133,7 +133,7 @@ def add_source cmd = build_cmd "sup-add" cmd += " --unusual" unless usual cmd += " --archive" if archive - cmd += " --labels=#{labels.join(',')}" if labels + cmd += " --labels=#{labels.join(',')}" if labels && !labels.empty? cmd += " #{uri}" puts "Ok, trying to run \"#{cmd}\"..." -- 2.45.2