mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-25 20:57:29 +01:00
bug #2474949
This commit is contained in:
parent
1fb523806b
commit
e580398e84
@ -1,5 +1,10 @@
|
||||
2008-12-29 vadim <vadim@vk.crocodile.org>
|
||||
|
||||
* FirewallInstallerUnx.cpp (FirewallInstallerUnx::executeInstallScript)
|
||||
bug #2474949: "External install script: trailing spaces". Trimming
|
||||
leading and trailing white spaces in the external installation script
|
||||
and its arguments before running it.
|
||||
|
||||
* runqmake.sh: starting with v3.0.4 build 717, building universal
|
||||
binary for Mac OS X (both x86 and ppc architectures)
|
||||
|
||||
|
||||
@ -169,14 +169,14 @@ void FirewallInstallerUnx::executeInstallScript()
|
||||
{
|
||||
Management *mgmt = cnf->fwobj->getManagementObject();
|
||||
assert(mgmt!=NULL);
|
||||
PolicyInstallScript *pis = mgmt->getPolicyInstallScript();
|
||||
|
||||
PolicyInstallScript *pis = mgmt->getPolicyInstallScript();
|
||||
QString command = pis->getCommand().c_str();
|
||||
QString wdir = getFileDir( mw->getRCS()->getFileName() );
|
||||
QStringList args;
|
||||
args.push_back(pis->getCommand().c_str());
|
||||
args.push_back(command.trimmed());
|
||||
|
||||
QString qs = pis->getArguments().c_str();
|
||||
args += qs.split(" ", QString::SkipEmptyParts);
|
||||
args += qs.trimmed().split(" ", QString::SkipEmptyParts);
|
||||
|
||||
args.push_back("-f");
|
||||
args.push_back(mw->db()->getFileName().c_str());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user