From 7f40667cbc48b93fe0dba2a33676e4d658d751b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 30 Jan 2006 14:05:40 +0000 Subject: [PATCH] Installer scripts are not executable, we launch them with sh git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16151 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/installer/CopyEngine.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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.");