Check-in [008f3ba007]
Overview
SHA1:008f3ba00745d5d14467108be6d734215b8c1683
Date: 2018-06-10 06:15:45
User: rkeene
Comment:Specify Tcl package name and init function, if specified
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2018-06-10
06:16
[bdbf3d784a] Added TclCurl package (user: rkeene, tags: trunk)
06:15
[008f3ba007] Specify Tcl package name and init function, if specified (user: rkeene, tags: trunk)
06:15
[770ae24263] Allow projects to override init functions and package names (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"