2012-09-10 19:00:18 -04:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
2013-06-21 17:54:32 -04:00
|
|
|
trap('INT') do |status|
|
|
|
|
exit! 128+status
|
|
|
|
end
|
|
|
|
|
2012-09-10 19:00:18 -04:00
|
|
|
require 'mutant'
|
|
|
|
|
|
|
|
namespace =
|
|
|
|
if File.basename($0) == 'zombie'
|
|
|
|
$stderr.puts('Detected zombie environment...')
|
2013-06-28 17:24:46 -04:00
|
|
|
Mutant::Zombifier.zombify
|
|
|
|
Zombie::Mutant
|
2012-09-10 19:00:18 -04:00
|
|
|
else
|
|
|
|
Mutant
|
|
|
|
end
|
|
|
|
|
2012-11-24 11:36:47 -05:00
|
|
|
Kernel.exit(namespace::CLI.run(ARGV))
|