Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:
#
proc readConfigFile {} {
global exec_hosts remote_exec editor_only
+ global env
if { [file exists ".imunesrc"] } {
source ".imunesrc"
} else {
- if { [catch {$env(HOME)} home] } {
- # not running on UNIX
+ if { [catch {set myhome $env(HOME)}] } {
+ ;# not running on UNIX
} else {
- if { [file exists "$home/.imunesrc"] } {
- source "$home/.imunesrc"
+ if { [file exists "$myhome/.imunesrc"] } {
+ source "$myhome/.imunesrc"
}
}
}
}
-