bin/marvin in Sutto-marvin-0.1.20081115 vs bin/marvin in Sutto-marvin-0.1.20081120

- old
+ new

@@ -37,31 +37,35 @@ end puts "Writing Settings file" copy "config/settings.yml.sample", "config/settings.yml" + puts "Writing Connections file" + copy "config/connections.yml.sample", "config/connections.yml" + puts "Writing setup.rb" copy "config/setup.rb" - puts "Copying start script - script/run" - copy "script/run" + puts "Copying start scripts" + copy "script/client" copy "script/daemon-runner" - FileUtils.chmod 0755, j(DEST, "script/run") + FileUtils.chmod 0755, j(DEST, "script/client") FileUtils.chmod 0755, j(DEST, "script/daemon-runner") - puts "Copying example handler" + puts "Copying example handlers" copy "handlers/hello_world.rb" + copy "handlers/debug_handler.rb" puts "Done!" elsif ARGV.length >= 1 if !File.exist?("script/daemon-runner") puts "Woops! This isn't a marvin directory." exit(1) end exec "script/daemon-runner #{ARGV.map {|a| a.include?(" ") ? "\"#{a}\"" : a }.join(" ")}" else - if !File.exist?("script/run") + if !File.exist?("script/client") puts "Woops! This isn't a marvin directory." exit(1) end - exec "script/run" + exec "script/client" end \ No newline at end of file