Diff

Differences From Artifact [3c49d360c7]:

To Artifact [62bff14932]:


110
111
112
113
114
115
116

117
118





119
120
121
122
123
124
125
110
111
112
113
114
115
116
117


118
119
120
121
122
123
124
125
126
127
128
129







+
-
-
+
+
+
+
+







	unset TCLVERS
	unset ADDFLAGS
	unset TCLBUILDDIR
	export TCLCONFIGDIR TCLPRIVATE CFLAGS CPPFLAGS
fi

# Determine platform
if [ -z "${FORCE_PLATFORM}" ]; then
PLATFORM="$(./platform)"
export PLATFORM
	PLATFORM="$(./platform)"
	export PLATFORM
else
	PLATFORM="${FORCE_PLATFORM}"
fi

# Build all appropriate directories
faileddirs=""
for dir in */; do
	export dir

	if [ ! -f "${dir}/build.sh" ]; then
164
165
166
167
168
169
170
171
172
173
174
175
176
168
169
170
171
172
173
174

175
176
177
178
179







-






# Let the user know what failed to build
if [ -n "${faileddirs}" ]; then
	echo "The following failed to build:${faileddirs}"
fi

# Create tarfile of built packages
PLATFORM="$(./platform)"
DATECODE="$(date +%Y%m%d%H%M)"
OUTFILEBASE="tclpkgs-${PLATFORM}-${DATECODE}"
tar -cf - */out | bzip2 -9c > "${OUTFILEBASE}.tar.bz2"

exit 0