Rakefile in dawnscanner-2.1.0 vs Rakefile in dawnscanner-2.1.1

- old
+ new

@@ -158,38 +158,38 @@ end end def __kb_pack - if Dir.exists? "#{YAML_KB}/bulletin" + if Dir.exist? "#{YAML_KB}/bulletin" system "tar cfvz #{YAML_KB}/bulletin.tar.gz -C #{YAML_KB} bulletin" system "rm -rf #{YAML_KB}/bulletin" system "shasum -a 256 #{YAML_KB}/bulletin.tar.gz > #{YAML_KB}/bulletin.tar.gz.sig" end - if Dir.exists? "#{YAML_KB}/generic_check" + if Dir.exist? "#{YAML_KB}/generic_check" system "tar cfvz #{YAML_KB}/generic_check.tar.gz -C #{YAML_KB} generic_check" system "rm -rf #{YAML_KB}/generic_check" system "shasum -a 256 #{YAML_KB}/generic_check.tar.gz > #{YAML_KB}/generic_check.tar.gz.sig" end - if Dir.exists? "#{YAML_KB}/owasp_ror_cheatsheet" + if Dir.exist? "#{YAML_KB}/owasp_ror_cheatsheet" system "tar cfvz #{YAML_KB}/owasp_ror_cheatsheet.tar.gz -C #{YAML_KB} owasp_ror_cheatsheet" system "rm -rf #{YAML_KB}/owasp_ror_cheatsheet" system "shasum -a 256 #{YAML_KB}/owasp_ror_cheatsheet.tar.gz > #{YAML_KB}/owasp_ror_cheatsheet.tar.gz.sig" end - if Dir.exists? "#{YAML_KB}/code_style" + if Dir.exist? "#{YAML_KB}/code_style" system "tar cfvz #{YAML_KB}/code_style.tar.gz -C #{YAML_KB} code_style" system "rm -rf #{YAML_KB}/code_style" system "shasum -a 256 #{YAML_KB}/code_style.tar.gz > #{YAML_KB}/code_style.tar.gz.sig" end - if Dir.exists? "#{YAML_KB}/code_quality" + if Dir.exist? "#{YAML_KB}/code_quality" system "tar cfvz #{YAML_KB}/code_quality.tar.gz -C #{YAML_KB} code_quality" system "rm -rf #{YAML_KB}/code_quality" system "shasum -a 256 #{YAML_KB}/code_quality.tar.gz > #{YAML_KB}/code_quality.tar.gz.sig" end - if Dir.exists? "#{YAML_KB}/owasp_top_10" + if Dir.exist? "#{YAML_KB}/owasp_top_10" system "tar cfvz #{YAML_KB}/owasp_top_10.tar.gz -C #{YAML_KB} owasp_top_10" system "rm -rf #{YAML_KB}/owasp_top_10" system "shasum -a 256 #{YAML_KB}/owasp_top_10.tar.gz > #{YAML_KB}/owasp_top_10.tar.gz.sig" end