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
270
271
272
273
274
275




276
277
278
279
280
281
282
	# Install files needed by installation
	cp -r "${installdir}/lib" "${runtimedir}" || return 1

	# Create pkgIndex files if needed
	if [ -z "${tclpkg}" ]; then
		tclpkg="${pkg}"
	fi





	if [ -z "${tclpkgversion}" ]; then
		tclpkgversion="${version}"
	fi

	runtimelibdir="${runtimedir}/lib"








>
>
>
>







269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
	# Install files needed by installation
	cp -r "${installdir}/lib" "${runtimedir}" || return 1

	# Create pkgIndex files if needed
	if [ -z "${tclpkg}" ]; then
		tclpkg="${pkg}"
	fi
	echo "${tclpkg}" > "${installdir}/tcl-pkg-name"
	if [ -n "${tclpkg_initfunc}" ]; then
		echo "${tclpkg_initfunc}" > "${installdir}/tcl-init-func"
	fi

	if [ -z "${tclpkgversion}" ]; then
		tclpkgversion="${version}"
	fi

	runtimelibdir="${runtimedir}/lib"