Priest of the Order of the Butterfly
Posts: 874 from 2007/4/9
From: Kingston upon ...
The following statement in mossys:s/startup-sequence executes before s:user-startup:
Quote:
if not exists ENV:MorphOSSDK NOREQ
if exists SYS:Development NOREQ
SetEnv MorphOSSDK SYS:Development
endif
else
Assign SDK: "$MorphOSSDK"
if exists SDK:Startup NOREQ
Execute >NIL: SDK:Startup
endif
endif
If env:morphosskd (path to SDK) uses an assign (eg 'Apps:SDK') which is set in user-startup, then it will fail (as the assign has not yet been set when the variable is used).
Set env:morphossdk to an absolute path (not relying on an assign). It's cleaner than making changes to mossys:s/startup-sequence, and will survive future OS updates.
Regards
Rich
[ Edited by boot_wb 14.10.2012 - 18:21 ]www.hullchimneyservices.co.uk
UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)
Windows free since 2011!