free_mutant/bin/mutant
2013-06-28 23:24:46 +02:00

18 lines
297 B
Ruby
Executable file

#!/usr/bin/env ruby
trap('INT') do |status|
exit! 128+status
end
require 'mutant'
namespace =
if File.basename($0) == 'zombie'
$stderr.puts('Detected zombie environment...')
Mutant::Zombifier.zombify
Zombie::Mutant
else
Mutant
end
Kernel.exit(namespace::CLI.run(ARGV))