bin/genZPK in genZPK-0.1.3 vs bin/genZPK in genZPK-0.1.4

- old
+ new

@@ -55,10 +55,10 @@ end dir = String(ARGV[0]).end_with?('/') ? String(ARGV[0]).chomp : String(ARGV[0]) requireCondition File.exists?(File.expand_path '~/.genZPK/checks.xml'), "Unable to locate configuration files. Please run genZPK --configure" -requireCondition (File.read(File.expand_path('~/.genZPK/checks.xml')).gsub(/\s+/, "") == ""), "Configuration empty. Please run genZPK --configure" +requireCondition (File.read(File.expand_path('~/.genZPK/checks.xml')).gsub(/\s+/, "") != ""), "Configuration empty. Please run genZPK --configure" requireCondition getZdpack.not_nil?, "unable to locate zdpack executable. Please check zend server installation at /usr/local/zend/" requireCondition dir.not_nil?,"Required parameters not set or invalid argument. Please run genZPK --help for more info." requireCondition options[:system].not_nil?,"Required parameters not set or invalid argument. Please run genZPK --help for more info." requireCondition options[:version].not_nil?,"Required parameters not set or invalid argument. Please run genZPK --help for more info." requireCondition options[:name].not_nil?,"Required parameters not set or invalid argument. Please run genZPK --help for more info." \ No newline at end of file