cosmetics
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5980 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
46b88d766d
commit
5a1eba064d
1 changed files with 12 additions and 12 deletions
|
@ -3019,21 +3019,21 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
my_convert_free(fc);
|
||||
|
||||
// search working directory
|
||||
boost::scoped_ptr<dir_reader> dr( new_dir_reader() );
|
||||
dr->read(dir);
|
||||
boost::scoped_ptr<dir_reader> dr( new_dir_reader() );
|
||||
dr->read(dir);
|
||||
|
||||
for (dir_reader::iterator files_itr = dr->files().begin();
|
||||
files_itr != dr->files().end();
|
||||
files_itr++)
|
||||
{
|
||||
if (!dir_reader::matches(*files_itr, spec))
|
||||
continue;
|
||||
for (dir_reader::iterator files_itr = dr->files().begin();
|
||||
files_itr != dr->files().end();
|
||||
files_itr++)
|
||||
{
|
||||
if (!dir_reader::matches(*files_itr, spec))
|
||||
continue;
|
||||
|
||||
string incfile = basedir + *files_itr;
|
||||
string incfile = basedir + *files_itr;
|
||||
|
||||
if (includeScript((char *) incfile.c_str()) != PS_OK) {
|
||||
return PS_ERROR;
|
||||
}
|
||||
if (includeScript((char *) incfile.c_str()) != PS_OK) {
|
||||
return PS_ERROR;
|
||||
}
|
||||
|
||||
included++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue