Fix error message when building boxes

This commit is contained in:
Fabio Rehm 2013-06-07 21:32:48 -03:00
parent ed4a8ae729
commit 06f2063d53

View file

@ -39,7 +39,7 @@ class BuildGenericBoxTaskV2 < ::Rake::TaskLib
if script.readable?
sh "sudo #{script} #{args.join(' ')}"
else
STDERR.puts "cannot execute #{install_path} (not found?)"
STDERR.puts "cannot execute #{script_name} (not found?)"
exit 1
end
end