From 9c0db3445c588b4e142dee2033442a818970ad72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 16 Jul 2009 13:47:11 +0000 Subject: [PATCH] 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 --- src/apps/installer/WorkerThread.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/installer/WorkerThread.cpp b/src/apps/installer/WorkerThread.cpp index b4f0b3a084..d16ff73661 100644 --- a/src/apps/installer/WorkerThread.cpp +++ b/src/apps/installer/WorkerThread.cpp @@ -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()); }