Diff

Differences From Artifact [819d936a86]:

To Artifact [8c6915088c]:


     1      1   #! /bin/bash
     2      2   
     3         -VERSIONS="8.5.16 8.6.2 cvs_HEAD"
            3  +VERSIONS="8.5.17 8.6.2 cvs_HEAD"
     4      4   
     5      5   # Find the base directory
     6      6   for x in 1 2 3 4 __fail__; do
     7      7   	if [ "${x}" = "__fail__" ]; then
     8      8   		echo 'Unable to find KitCreator, aborting.' >&2
     9      9   
    10     10   		exit 1
................................................................................
   436    436   
   437    437   			# For KitDLL, make a note of the original name
   438    438   			if [ "${kitdll}" = "1" ]; then
   439    439   				echo "${createdkit}" > "${outputname}-origname"
   440    440   
   441    441   				if [ -f "${sdk}" ]; then
   442    442   					mv "${sdk}" "${outputname}-sdk.tar.gz"
          443  +					openssl sha1 "${outputname}-sdk.tar.gz" | sed 's@^.*= @@' > "${outputname}-sdk.tar.gz.sha1"
   443    444   				fi
   444    445   			fi
          446  +
          447  +			openssl sha1 "${outputname}" | sed 's@^.*= @@' > "${outputname}.sha1"
          448  +		fi
          449  +
          450  +		# Note the SHA1 has of the file
          451  +		if [ -f "${outputname}.sha1" ]; then
          452  +			echo "SHA1: $(cat "${outputname}.sha1")"
          453  +		else
          454  +			echo "SHA1: not recorded"
          455  +		fi
          456  +
          457  +		if [ -f "${outputname}-sdk.tar.gz" ]; then
          458  +			if [ -f "${outputname}-sdk.tar.gz.sha1" ]; then
          459  +				echo "SDK SHA1: $(cat "${outputname}-sdk.tar.gz.sha1")"
          460  +			else
          461  +				echo "SDK SHA1: not recorded"
          462  +			fi
   445    463   		fi
   446    464   
   447    465   		# Test zip status
   448    466   		if unzip -l "${outputname}" 2>&1 | grep 'boot\.tcl' >/dev/null; then
   449    467   			canunzip="1"
   450    468   		else
   451    469   			canunzip="0"