lib/rake/delphi/dcc32.rb in rake-delphi-0.0.18 vs lib/rake/delphi/dcc32.rb in rake-delphi-0.0.19
- old
+ new
@@ -20,11 +20,11 @@
private
@@symbols = [:quiet, :assertions, :build, :optimization, :debug, :defines,
:debuginfo, :localsymbols, :console, :warnings, :hints, :altercfg,
:includepaths, :writeableconst,
:map, :dcuoutput, :bploutput, :aliases, :platform, :namespaces,
- :dcpoutput, :dcu, :uselibrarypath, :uselibrarypath, :usecfg, :dcc_options]
+ :dcpoutput, :dcu, :uselibrarypath, :usecfg, :dcc_options]
public
@@symbols.map do |sym|
attr_accessor sym unless method_defined?(sym)
end
@@ -127,10 +127,10 @@
ppaths
end
def implicitpaths
ipaths = ['.', '..']
- Logger.trace(Logger::TRACE, 'Using library paths? %s' + (@uselibrarypath ? 'YES' : 'NO'))
+ Logger.trace(Logger::TRACE, 'Using library paths? %s' % (@uselibrarypath ? 'YES' : 'NO'))
ipaths |= delphilibs if @uselibrarypath
_paths(ipaths)
end
def paths