made it so SetCompress off when in whole compression mode throws warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@890 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b9d46504df
commit
4cafe448b6
1 changed files with 4 additions and 0 deletions
|
@ -1733,6 +1733,10 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
|||
case TOK_SETCOMPRESS:
|
||||
build_compress=line.gettoken_enum(1,"off\0auto\0force\0");
|
||||
if (build_compress==-1) PRINTHELP()
|
||||
if (build_compress == 0 && build_compress_whole)
|
||||
{
|
||||
warning("'SetCompress off' encountered, and in whole compression mode. Effectively ignored.\n");
|
||||
}
|
||||
SCRIPT_MSG("SetCompress: %s\n",line.gettoken_str(1));
|
||||
return PS_OK;
|
||||
case TOK_DBOPTIMIZE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue