@@ -25,10 +25,13 @@ TCL_VERSION="unknown" if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then source "${TCLCONFIGDIR}/tclConfig.sh" fi + + mkdir -p "${installdir}" "${runtimedir}" + export TCL_VERSION } function predownload() { : @@ -245,11 +248,10 @@ 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