lib/packer.rb in trafficbroker-mandy-0.2.4.2 vs lib/packer.rb in trafficbroker-mandy-0.2.4.3
- old
+ new
@@ -11,10 +11,10 @@
Dir.chdir(dir) { `tar -cf #{tmp_path} *` }
tmp_path
end
def self.unpack(file)
- return false unless File.extname(payload) == '.tar'
- throw `tar -xf #{file}`
+ return false unless File.extname(file) == '.tar'
+ `tar -xf #{file}`
end
end
end
\ No newline at end of file