Ticket #7523 (closed defect: fixed)
library index regeneration fails due to no XDG_DATA_DIRS
|Reported by:||dsd||Owned by:||marco|
|Priority:||high||Milestone:||8.2.0 (was Update.2)|
|Component:||sugar||Version:||Development build as of this date|
|Keywords:||8.2.0:? r+ blocks:8.2.0 joyride-2201:+||Cc:||mstone, dsd|
|Deployments affected:||Blocked By:|
sugar-toolkit commit 7b485120a3 resulted in XDG_DATA_DIRS being used to launch /usr/share/library-common/make_index.py.
XDG_DATA_DIRS is not set in the environment, both on 708 and joyride. Should we set it in e.g. /usr/bin/olpc-session, change sugar-toolkit, or what? i note that http://standards.freedesktop.org/basedir-spec/basedir-spec-0.5.html says:
If $XDG_DATA_DIRS is either not set or empty, a value equal to /usr/local/share/:/usr/share/ should be used.