axeld + bonefish:
Adjusted PATH, LIBRARY_PATH, and the paths built into the runtime loader to included the /boot/common tree. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23974 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -44,12 +44,12 @@ export BE_DEFAULT_CPLUS_FLAGS=""
|
|||||||
|
|
||||||
if [ "$SAFEMODE" != "yes" ]
|
if [ "$SAFEMODE" != "yes" ]
|
||||||
then
|
then
|
||||||
export PATH=.:$HOME/config/bin:/bin:/boot/apps:/boot/preferences:/boot/beos/apps:/boot/beos/preferences:$BETOOLS
|
export PATH=.:$HOME/config/bin:/boot/common/bin:/bin:/boot/apps:/boot/preferences:/boot/beos/apps:/boot/beos/preferences:$BETOOLS
|
||||||
export LIBRARY_PATH="%A/lib:$HOME/config/lib:/boot/beos/system/lib"
|
export LIBRARY_PATH="%A/lib:$HOME/config/lib:/boot/common/lib:/boot/beos/system/lib"
|
||||||
export ADDON_PATH="%A/add-ons:$HOME/config/add-ons:/boot/beos/system/add-ons"
|
export ADDON_PATH="%A/add-ons:$HOME/config/add-ons:/boot/beos/system/add-ons"
|
||||||
else
|
else
|
||||||
export PATH=.:/bin:/boot/apps:/boot/preferences:/boot/beos/apps:/boot/beos/preferences:$BETOOLS
|
export PATH=.:/boot/common/bin:/bin:/boot/apps:/boot/preferences:/boot/beos/apps:/boot/beos/preferences:$BETOOLS
|
||||||
export LIBRARY_PATH="%A/lib:/boot/beos/system/lib"
|
export LIBRARY_PATH="%A/lib:/boot/common/lib:/boot/beos/system/lib"
|
||||||
export ADDON_PATH="%A/add-ons:/boot/beos/system/add-ons"
|
export ADDON_PATH="%A/add-ons:/boot/beos/system/add-ons"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -59,18 +59,20 @@ search_path_for_type(image_type type)
|
|||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case B_APP_IMAGE:
|
case B_APP_IMAGE:
|
||||||
return "/bin:"
|
return "/boot/common/bin"
|
||||||
"/boot/apps:"
|
":/bin"
|
||||||
"/boot/preferences:"
|
":/boot/apps"
|
||||||
"/boot/beos/apps:"
|
":/boot/preferences"
|
||||||
"/boot/beos/preferences:"
|
":/boot/beos/apps"
|
||||||
"/boot/develop/tools/gnupro/bin";
|
":/boot/beos/preferences"
|
||||||
|
":/boot/develop/tools/gnupro/bin";
|
||||||
|
|
||||||
case B_LIBRARY_IMAGE:
|
case B_LIBRARY_IMAGE:
|
||||||
return "%A/lib:/boot/beos/system/lib";
|
return "%A/lib:/boot/common/lib:/boot/beos/system/lib";
|
||||||
|
|
||||||
case B_ADD_ON_IMAGE:
|
case B_ADD_ON_IMAGE:
|
||||||
return "%A/add-ons"
|
return "%A/add-ons"
|
||||||
|
":/boot/common/add-ons"
|
||||||
":/boot/beos/system/add-ons";
|
":/boot/beos/system/add-ons";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user