SetOutPath "-" works again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3552 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8031329c3d
commit
647d61ff24
1 changed files with 7 additions and 2 deletions
|
@ -3230,9 +3230,14 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
return add_entry(&ent);
|
||||
case TOK_SETOUTPATH:
|
||||
{
|
||||
SCRIPT_MSG("SetOutPath: \"%s\"\n",line.gettoken_str(1));
|
||||
char *op=line.gettoken_str(1);
|
||||
if (!strcmp(op,"-"))
|
||||
{
|
||||
op="$INSTDIR";
|
||||
}
|
||||
SCRIPT_MSG("SetOutPath: \"%s\"\n",op);
|
||||
ent.which=EW_CREATEDIR;
|
||||
ent.offsets[0]=add_string(line.gettoken_str(1));
|
||||
ent.offsets[0]=add_string(op);
|
||||
ent.offsets[1]=1;
|
||||
|
||||
DefineInnerLangString(NLF_OUTPUT_DIR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue