diff --git a/src/apps/installer/CopyEngine.cpp b/src/apps/installer/CopyEngine.cpp index a2c97a5e39..6b24907a39 100644 --- a/src/apps/installer/CopyEngine.cpp +++ b/src/apps/installer/CopyEngine.cpp @@ -86,7 +86,8 @@ CopyEngine::LaunchInitScript(BPath &path) { BPath bootPath; find_directory(B_BEOS_BOOT_DIRECTORY, &bootPath); - BString command(bootPath.Path()); + BString command("/bin/sh "); + command += bootPath.Path(); command += "/InstallerInitScript "; command += path.Path(); SetStatusMessage("Starting Installation."); @@ -99,7 +100,8 @@ CopyEngine::LaunchFinishScript(BPath &path) { BPath bootPath; find_directory(B_BEOS_BOOT_DIRECTORY, &bootPath); - BString command(bootPath.Path()); + BString command("/bin/sh "); + command += bootPath.Path(); command += "/InstallerFinishScript "; command += path.Path(); SetStatusMessage("Finishing Installation.");