Lines Matching +refs:env +refs:PATH
58 if { [info exists GCC_EXEC_PREFIX] && ![info exists env(GCC_EXEC_PREFIX)] } {
68 global env
73 if [info exists env(LD_LIBRARY_PATH)] {
74 set orig_ld_library_path "$env(LD_LIBRARY_PATH)"
77 if [info exists env(LD_RUN_PATH)] {
78 set orig_ld_run_path "$env(LD_RUN_PATH)"
81 if [info exists env(SHLIB_PATH)] {
82 set orig_shlib_path "$env(SHLIB_PATH)"
85 if [info exists env(LD_LIBRARYN32_PATH)] {
86 set orig_ld_libraryn32_path "$env(LD_LIBRARYN32_PATH)"
89 if [info exists env(LD_LIBRARY64_PATH)] {
90 set orig_ld_library64_path "$env(LD_LIBRARY64_PATH)"
93 if [info exists env(LD_LIBRARY_PATH_32)] {
94 set orig_ld_library_path_32 "$env(LD_LIBRARY_PATH_32)"
97 if [info exists env(LD_LIBRARY_PATH_64)] {
98 set orig_ld_library_path_64 "$env(LD_LIBRARY_PATH_64)"
101 if [info exists env(DYLD_LIBRARY_PATH)] {
102 set orig_dyld_library_path "$env(DYLD_LIBRARY_PATH)"
105 if [info exists env(PATH)] {
106 set orig_path "$env(PATH)"
180 setenv PATH "$ld_library_path:$orig_path"
182 setenv PATH "$ld_library_path"
220 } elseif [info exists env(LD_LIBRARY_PATH)] {
225 } elseif [info exists env(LD_RUN_PATH)] {
230 } elseif [info exists env(SHLIB_PATH)] {
235 } elseif [info exists env(LD_LIBRARYN32_PATH)] {
240 } elseif [info exists env(LD_LIBRARY64_PATH)] {
245 } elseif [info exists env(LD_LIBRARY_PATH_32)] {
250 } elseif [info exists env(LD_LIBRARY_PATH_64)] {
255 } elseif [info exists env(DYLD_LIBRARY_PATH)] {
259 setenv PATH "$orig_path"
260 } elseif [info exists env(PATH)] {
261 unsetenv PATH