@@ -139,11 +139,12 @@ fi case "${pkg}" in tcl) TCLCONFIGDIR=$(find "$(pwd)/tcl/build" -name tclConfig.sh | head -1 | sed 's@/[^/]*$@@') - export TCLCONFIGDIR + TCLCONFIGDIRTAIL="$(basename "${TCLCONFIGDIR}")" + export TCLCONFIGDIR TCLCONFIGDIRTAIL ;; esac if [ "${failed}" = "1" ]; then buildfailed="1"