fixed bug #1509909 - !system & !packhdr fail with quotes

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4711 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2006-07-30 10:29:23 +00:00
parent e4432fd8e1
commit b15cf04ef2
4 changed files with 31 additions and 2 deletions

View file

@ -2191,7 +2191,7 @@ int CEXEBuild::pack_exe_header()
}
fwrite(m_exehead,1,m_exehead_size,tmpfile);
fclose(tmpfile);
if (system(build_packcmd) == -1)
if (sane_system(build_packcmd) == -1)
{
remove(build_packname);
ERROR_MSG("Error: calling packer on \"%s\"\n",build_packname);