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:
parent
10b5c1016e
commit
9c0db3445c
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user