bin/mandy-map in trafficbroker-mandy-0.2.4.3 vs bin/mandy-map in trafficbroker-mandy-0.2.4.4

- old
+ new

@@ -5,11 +5,11 @@ if ARGV.size==0 puts "USAGE: mandy-map my_script.rb 'Job Name' [payload]" exit end -if ARGV.size > 3 - payload = ARGV[3] +if ARGV.size > 2 + payload = ARGV[2] Mandy::Packer.unpack(payload) end def absolute_path(path) path =~ /^\// ? path : File.join(Dir.pwd, path)