commit b8031c969d41de07c9ae65e5b5eab17c5a663d95
parent 7321da2d481d34bc7e18b9948d4b5edc618c9c9e
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sun, 17 Jun 2007 20:32:04 +0000
sup-sync-back bugfix: use usual sources if no sources specified
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@462 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bin/sup-sync-back b/bin/sup-sync-back
@@ -60,6 +60,7 @@ begin
s.is_a?(Redwood::MBox::Loader) or Trollop::die "#{uri} is not an mbox source."
s
end
+ sources = index.usual_sources if sources.empty?
any_modified = false
sources.each { |s| s.reset! }