]> git.cworth.org Git - sup/commitdiff
make sup-sync-back short-circuit work properly
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 7 Jul 2007 15:06:56 +0000 (15:06 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 7 Jul 2007 15:06:56 +0000 (15:06 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@483 5c8cc53c-5e98-4d25-b20a-d8db53a31250

bin/sup-sync-back

index c27f1922f84a34d636aeeb150a54466ecf0e1405..d98d7022f273a33092adf0dc801ec3faec93aafa 100644 (file)
@@ -138,9 +138,9 @@ begin
   $stderr.puts "Done."
   if any_modified
     if using_usual_sources
-      $stderr.puts "You should now run: sup-sync --changed #{sources.join(' ')}"
-    else
       $stderr.puts "You should now run: sup-sync --changed"
+    else
+      $stderr.puts "You should now run: sup-sync --changed #{sources.join(' ')}"
     end
   end
 rescue Exception => e