Index: openacs-4/packages/acs-bootstrap-installer/installer.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer.tcl,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/acs-bootstrap-installer/installer.tcl 29 Aug 2001 21:22:48 -0000 1.4 +++ openacs-4/packages/acs-bootstrap-installer/installer.tcl 9 Mar 2002 22:54:29 -0000 1.4.2.1 @@ -173,14 +173,16 @@ } ad_proc -public ad_windows_p {} { + # DLB - this used to check the existence of the WINDIR environment + # variable, rather than just asking AOLserver. Returns 1 if the ACS is running under Windows. Note, this procedure is a best guess, not sure of a better way of determining: } { - global env - if {[info exists env(WINDIR)]} { - return 1 + set thisplatform [ns_info platform] + if {[string equal $thisplatform "win32" ]} { + return 1 } else { - return 0 + return 0 } }