fixed File /r
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3528 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3f483e0163
commit
0a30814add
1 changed files with 2 additions and 0 deletions
|
@ -5362,11 +5362,13 @@ int CEXEBuild::do_add_file(const char *lgss, int attrib, int recurse, int linecn
|
|||
char *s=dir+strlen(dir);
|
||||
while (s > dir && *s != PATH_SEPARATOR_C) s=CharPrev(dir,s);
|
||||
*s=0;
|
||||
#ifndef _WIN32
|
||||
if (!*dir)
|
||||
{
|
||||
dir[0] = '.';
|
||||
dir[1] = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue