mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CloudStack CS-14475
Atomatic addition of Apache license header broke lots of mysql files fix DB upgrade cleanup script not get executed issue. add "#" as comment signature in ScriptRunner.java
This commit is contained in:
parent
88d6562dac
commit
bd47cd104c
@ -118,6 +118,8 @@ public class ScriptRunner {
|
||||
// Do nothing
|
||||
} else if (trimmedLine.length() < 1 || trimmedLine.startsWith("--")) {
|
||||
// Do nothing
|
||||
} else if (trimmedLine.length() < 1 || trimmedLine.startsWith("#")) {
|
||||
// Do nothing
|
||||
} else if (!fullLineDelimiter && trimmedLine.endsWith(getDelimiter()) || fullLineDelimiter && trimmedLine.equals(getDelimiter())) {
|
||||
command.append(line.substring(0, line.lastIndexOf(getDelimiter())));
|
||||
command.append(" ");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user