Diff

Differences From Artifact [4268eb0491]:

To Artifact [e5d135d2c7]:


   145    145   
   146    146   			(
   147    147   				. "${patchscript}"
   148    148   			)
   149    149   		fi
   150    150   	done
   151    151   
   152         -	for dir in unix win macosx __fail__; do
          152  +	tryfirstdir=''
          153  +	if [ "$(uname -s)" = "Darwin" ]; then
          154  +		tryfirstdir='macosx'
          155  +	fi
          156  +
          157  +	for dir in "${tryfirstdir}" unix win macosx __fail__; do
          158  +		if [ -z "${dir}" ]; then
          159  +			continue
          160  +		fi
          161  +
   153    162   		if [ "${dir}" = "__fail__" ]; then
   154    163   			# If we haven't figured out how to build it, reject.
   155    164   
   156    165   			exit 1
   157    166   		fi
   158    167   
   159    168   		# Remove previous directory's "tclConfig.sh" if found