lib/xezat/generator/pkgconfig.rb in xezat-0.2.0 vs lib/xezat/generator/pkgconfig.rb in xezat-0.2.1

- old
+ new

@@ -71,10 +71,10 @@ original_ac = File.read(configure_ac) return if /#{pn}.pc/.match?(original_ac) - original_ac.gsub!(/(AC_CONFIG_FILES\(\[)/, '\1' + "#{pn}.pc ") + original_ac.gsub!(/(AC_CONFIG_FILES\(\[)/, "\\1#{"#{pn}.pc "}") File.atomic_write(configure_ac) do |fa| fa.write(original_ac) makefile_am = File.expand_path(File.join(srcdir, 'Makefile.am')) raise AutotoolsFileNotFoundError unless File.exist?(makefile_am)