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
This commit is contained in:
parent
c7023acdc6
commit
7f40667cbc
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user