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:
@@ -213,7 +213,9 @@ WorkerThread::_LaunchInitScript(BPath &path)
|
|||||||
BString command("/bin/sh ");
|
BString command("/bin/sh ");
|
||||||
command += bootPath.Path();
|
command += bootPath.Path();
|
||||||
command += "/InstallerInitScript ";
|
command += "/InstallerInitScript ";
|
||||||
|
command += "\"";
|
||||||
command += path.Path();
|
command += path.Path();
|
||||||
|
command += "\"";
|
||||||
_SetStatusMessage("Starting Installation.");
|
_SetStatusMessage("Starting Installation.");
|
||||||
system(command.String());
|
system(command.String());
|
||||||
}
|
}
|
||||||
@@ -227,7 +229,9 @@ WorkerThread::_LaunchFinishScript(BPath &path)
|
|||||||
BString command("/bin/sh ");
|
BString command("/bin/sh ");
|
||||||
command += bootPath.Path();
|
command += bootPath.Path();
|
||||||
command += "/InstallerFinishScript ";
|
command += "/InstallerFinishScript ";
|
||||||
|
command += "\"";
|
||||||
command += path.Path();
|
command += path.Path();
|
||||||
|
command += "\"";
|
||||||
_SetStatusMessage("Finishing Installation.");
|
_SetStatusMessage("Finishing Installation.");
|
||||||
system(command.String());
|
system(command.String());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user