Check-in [008f3ba007]
Overview
Comment:Specify Tcl package name and init function, if specified
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:008f3ba00745d5d14467108be6d734215b8c1683
User & Date: rkeene on 2018-06-10 06:15:45
Other Links: manifest | tags
Context
2018-06-10
06:16
Added TclCurl package check-in: bdbf3d784a user: rkeene tags: trunk
06:15
Specify Tcl package name and init function, if specified check-in: 008f3ba007 user: rkeene tags: trunk
06:15
Allow projects to override init functions and package names check-in: 770ae24263 user: rkeene tags: trunk
Changes

Modified common/common.sh from [de80aa2117] to [e672e78acf].

   269    269   	# Install files needed by installation
   270    270   	cp -r "${installdir}/lib" "${runtimedir}" || return 1
   271    271   
   272    272   	# Create pkgIndex files if needed
   273    273   	if [ -z "${tclpkg}" ]; then
   274    274   		tclpkg="${pkg}"
   275    275   	fi
          276  +	echo "${tclpkg}" > "${installdir}/tcl-pkg-name"
          277  +	if [ -n "${tclpkg_initfunc}" ]; then
          278  +		echo "${tclpkg_initfunc}" > "${installdir}/tcl-init-func"
          279  +	fi
   276    280   
   277    281   	if [ -z "${tclpkgversion}" ]; then
   278    282   		tclpkgversion="${version}"
   279    283   	fi
   280    284   
   281    285   	runtimelibdir="${runtimedir}/lib"
   282    286