Setup/CLI
* also fix empty --build param building all files * fixed copy/paste typo
This commit is contained in:
parent
cb2274bbab
commit
07b9ed4275
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ class FileGen
|
|||
$doScripts = array_unique($doScripts);
|
||||
return true;
|
||||
}
|
||||
else if ($_ = CLISetup::getOpt('build'))
|
||||
else if (is_array($_ = CLISetup::getOpt('build')))
|
||||
{
|
||||
$doScripts = $_;
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class SqlGen
|
|||
|
||||
if ($depsOK)
|
||||
{
|
||||
if (isset(self::$tables[$ssRef->getName()]))
|
||||
if (isset(self::$tables[$ts->getName()]))
|
||||
{
|
||||
CLI::write('a SetupScript named '.CLI::bold($ts->getName()).' was already registered. Skipping...', CLI::LOG_WARN);
|
||||
unset(self::$tmpStore[$idx]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue