Diff

Differences From Artifact [fcb2d0c6dc]:

To Artifact [bee88e3dbf]:


     9      9   fi
    10     10   if [ "$1" = "distclean" ]; then
    11     11   	mode="distclean"
    12     12   fi
    13     13   
    14     14   failedpkgs=""
    15     15   buildfailed="0"
    16         -for pkg in tcl tk itcl mk4tcl tclvfs memchan kitsh; do
           16  +for pkg in tcl tk itcl mk4tcl tclvfs kitsh; do
    17     17   	if [ "${mode}" = "distclean" ]; then
    18     18   		rm -rf "${pkg}/src"
    19     19   	fi
    20     20   
    21     21   	if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
    22     22   		rm -f "${pkg}/build.log"
    23     23   		rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"
................................................................................
    37     37   	fi
    38     38   
    39     39   	case "${pkg}" in
    40     40   		tcl)
    41     41   			TCLCONFIGDIR=$(find "$(pwd)/tcl/build" -name tclConfig.sh | head -1 | sed 's@/[^/]*$@@')
    42     42   			export TCLCONFIGDIR
    43     43   			;;
    44         -		memchan)
    45         -			failed="0"
    46         -			;;
    47     44   	esac
    48     45   
    49     46   	if [ "${failed}" = "1" ]; then
    50     47   		buildfailed="1"
    51     48   	fi
    52     49   done
           50  +
           51  +if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
           52  +	rm -f tclkit-*
           53  +
           54  +	exit 0
           55  +fi
    53     56   
    54     57   if [ -n "${failedpkgs}" ]; then
    55     58   	echo "Failed to build:${failedpkgs}"
    56     59   fi
    57     60   
    58     61   if [ "${buildfailed}" != "0" ]; then
    59     62   	echo 'WARNING: Build is likely incomplete or failed.' >&2
    60     63   fi
    61     64   
    62     65   cp 'kitsh/build'/kitsh-*/kit "tclkit-${TCLVERS}"
    63     66   
    64     67   exit "${buildfailed}"