Patch by Jeroen Oortwijn:

Escape the mount point, so volumes with spaces in their name can be made
bootable after installing. Thanks a lot! Fixes #4063.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31607 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-07-16 13:47:11 +00:00
parent 10b5c1016e
commit 9c0db3445c

View File

@ -213,7 +213,9 @@ WorkerThread::_LaunchInitScript(BPath &path)
BString command("/bin/sh ");
command += bootPath.Path();
command += "/InstallerInitScript ";
command += "\"";
command += path.Path();
command += "\"";
_SetStatusMessage("Starting Installation.");
system(command.String());
}
@ -227,7 +229,9 @@ WorkerThread::_LaunchFinishScript(BPath &path)
BString command("/bin/sh ");
command += bootPath.Path();
command += "/InstallerFinishScript ";
command += "\"";
command += path.Path();
command += "\"";
_SetStatusMessage("Finishing Installation.");
system(command.String());
}