Check-in [7c7806fdb4]
Overview
Comment:Updated to support specifying version using "fossil_<tag>/<uuid>" syntax in addition to "cvs_<tag>" syntax
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7c7806fdb40b4c6d1210c990125cc1a3e134afb8
User & Date: rkeene on 2011-05-28 05:30:51
Other Links: manifest | tags
Context
2011-05-28
05:33
More work towards changing scripts to refer to upstream source with Fossil in the name check-in: 6964fef637 user: rkeene tags: trunk
05:30
Updated to support specifying version using "fossil_<tag>/<uuid>" syntax in addition to "cvs_<tag>" syntax check-in: 7c7806fdb4 user: rkeene tags: trunk
05:18
Updated to give second build try the same DLL name as the first since the name gets built-in to the library check-in: a407ca2616 user: rkeene tags: trunk
Changes

Modified tcl/build.sh from [08b84fc697] to [a153496432].

    22     22   
    23     23   rm -rf 'build' 'out' 'inst'
    24     24   mkdir 'build' 'out' 'inst' || exit 1
    25     25   
    26     26   if [ ! -f "${SRC}" ]; then
    27     27   	mkdir 'src' >/dev/null 2>/dev/null
    28     28   
           29  +	use_fossil='0'
    29     30   	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
           31  +		use_fossil='1'
           32  +
    30     33   		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
    31     34   		if [ "${CVSTAG}" = "HEAD" ]; then
    32     35   			CVSTAG="trunk"
    33     36   		fi
    34         -		export CVSTAG
           37  +	elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
           38  +		use_fossil='1'
    35     39   
           40  +		CVSTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
           41  +	fi
           42  +	export CVSTAG
           43  +
           44  +	if [ "${use_fossil}" = "1" ]; then
    36     45   		(
    37     46   			cd src || exit 1
    38     47   
    39     48   			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
    40     49   			rm -rf "${workdir}"
    41     50   
    42     51   			mkdir "${workdir}" || exit 1

Modified tk/build.sh from [f374ed53cb] to [44b34e71e4].

    30     30   fi
    31     31   export TCL_VERSION
    32     32   
    33     33   
    34     34   if [ ! -f "${SRC}" ]; then
    35     35   	mkdir 'src' >/dev/null 2>/dev/null
    36     36   
           37  +	use_fossil='0'
    37     38   	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
           39  +		use_fossil='1'
           40  +
    38     41   		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
    39     42   		if [ "${CVSTAG}" = "HEAD" ]; then
    40     43   			CVSTAG="trunk"
    41     44   		fi
    42         -		export CVSTAG
           45  +	elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
           46  +		use_fossil='1'
    43     47   
           48  +		CVSTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
           49  +	fi
           50  +	export CVSTAG
           51  +
           52  +	if [ "${use_fossil}" = "1" ]; then
    44     53   		(       
    45     54   			cd src || exit 1
    46     55   
    47     56   			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
    48     57   			rm -rf "${workdir}"
    49     58   
    50     59   			mkdir "${workdir}" || exit 1