[Type] Bugfix
[Module] Toolchain /
[Priority] Major
[Jira#]
[Redmine#]
[Problem] use id not @id
[Cause]
[Solution]
[TestCase]
Change-Id: I0c59db14ff80f6f4d0a2a8ce40b29874bf75f4eb
elsif l.start_with?("DB_DSN=")
case l[idx,length].strip
when /^SQLite3:(.*)/i then
- if $1.strip.empty? then db_dsn = "SQLite3:#{BuildServer::CONFIG_ROOT}/#{@id}/server.db"
+ if $1.strip.empty? then db_dsn = "SQLite3:#{BuildServer::CONFIG_ROOT}/#{id}/server.db"
else db_dsn = "SQLite3:#{$1.strip}"
end
when /^Mysql:(.*)/i then
db_dsn = "Mysql:#{$1}"
else
- db_dsn = "SQLite3:#{BuildServer::CONFIG_ROOT}/#{@id}/server.db"
+ db_dsn = "SQLite3:#{BuildServer::CONFIG_ROOT}/#{id}/server.db"
end
elsif l.start_with?("DB_USER=")
db_user = l[idx,length].strip if not l[idx,length].strip.empty?