@@ -32,11 +32,19 @@ echo "Please remember to run 'build/pre.sh' if you expect this build to work." >&2 fi fi # Define the list of all packages, for cleaning purposes -KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl tcllib udp yajltcl tdom tuapi tclcurl lmdb nano" +KITCREATOR_ALLPKGS="$( + for buildScript in */build.sh; do + if [ ! -x "${buildScript}" ]; then + continue + fi + + echo "${buildScript}" | sed 's@/.*$@@' + done | tr $'\n' ' ' +)" # Always rebuild kitsh rm -f "kitsh/.success" for pkg in ${KITCREATOR_ALLPKGS} ${KITCREATOR_PKGS}; do if [ "${mode}" != "retry" -o ! -f "${pkg}/.success" ]; then