fix validate script for non-windows use.
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 16 Apr 2009 23:23:44 +0000 (23:23 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 16 Apr 2009 23:23:44 +0000 (23:23 +0000)
git-svn-id: svn://svn.equi4.com/kitgen/trunk@4473 9e558909-932a-0410-a563-af77432da1eb

validate.tcl

index e931d48076516e2f2c6ab17f4f278b15f9f3b4bb..b99233c43746a9325c0b90c316d7b567f81e7815 100644 (file)
@@ -8,7 +8,8 @@
 puts "version : Tcl [info patchlevel] $tcl_platform(osVersion) $tcl_platform(machine)"
 
 # check packages
-set ext {rechan registry dde starkit }
+set ext {rechan starkit}
+if {$tcl_platform(platform) eq "windows"} { lappend ext registry dde }
 foreach lib [info loaded] {
     if {[lindex $lib 1] eq "zlib"} {lappend ext zlib}
     if {[lindex $lib 1] eq "Mk4tcl"} {lappend ext Mk4tcl}