Diff

Differences From Artifact [9063052c4e]:

To Artifact [f1093e6987]:


23
24
25
26
27
28
29



30
31
32
33
34
35
36
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39







+
+
+







function init() {
	clean || return 1

	TCL_VERSION="unknown"
	if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then
		source "${TCLCONFIGDIR}/tclConfig.sh"
	fi

	mkdir -p "${installdir}" "${runtimedir}"

	export TCL_VERSION
}

function predownload() {
	:
}

243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
246
247
248
249
250
251
252

253
254
255
256
257
258
259







-







	:
}

function createruntime() {
	local file

	# Install files needed by installation
	mkdir -p "${runtimedir}" || return 1
	cp -r "${installdir}/lib" "${runtimedir}" || return 1

	find "${runtimedir}" -name '*.a' -type f | while IFS='' read -r file; do
		rm -f "${file}"
	done

	# Ensure that some files were installed