Skip to content
Snippets Groups Projects
Commit 8ab943f4 authored by Andrew A. de Laix's avatar Andrew A. de Laix
Browse files

fix working directory in install script and remove dependency on open option...

fix working directory in install script and remove dependency on open option --args which is 10.6 only.  Also fix erroneous check in process launcher which was mistakenly reporting a failed execution of the new updater script.
parent ef27fe3c
No related branches found
No related tags found
No related merge requests found
......@@ -266,13 +266,6 @@ int LLProcessLauncher::launch(void)
mProcessID = id;
// At this point, the child process will have been created (since that's how vfork works -- the child borrowed our execution context until it forked)
// If the process doesn't exist at this point, the exec failed.
if(!isRunning())
{
result = -1;
}
return result;
}
......
......@@ -5,5 +5,6 @@
# to a marker file which should be created if the installer fails.q
#
open ../Resources/mac-updater.app --args -dmg "$1" -name "Second Life Viewer 2" -marker "$2"
cd "$(dirname $0)"
../Resources/mac-updater.app/Contents/MacOS/mac-updater -dmg "$1" -name "Second Life Viewer 2" -marker "$2" &
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment