Fix the check for target directory path.

This commit is contained in:
jeb228 2010-03-29 20:03:59 +00:00
parent 45882f3dd7
commit 3a8d90e8ac

View file

@ -133,8 +133,8 @@ class Licenser
end
target_parent = File.dirname(@target_dir)
if !File.exist?(@target_parent)
raise "Path to target directory doesn't exist: #{@target_parent}"
if !File.exist?(target_parent)
raise "Path to target directory doesn't exist: #{target_parent}"
end
if !File.exist?(@license_file)