164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
echo -n "Skipping ${pkg} ..."
else
echo -n "Building ${pkg} ..."
(
cd "${pkg}" >/dev/null 2>/dev/null || exit 1
./build.sh 3>&1 4>&2 > build.log 2>&1 || exit 1
) || failed="1"
fi
if [ "${failed}" = "1" ]; then
echo " failed."
failedpkgs="${failedpkgs} ${pkg}"
else
|
>
>
>
>
|
|
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
echo -n "Skipping ${pkg} ..."
else
echo -n "Building ${pkg} ..."
(
cd "${pkg}" >/dev/null 2>/dev/null || exit 1
build_script='./build.sh'
if [ -x 'kitcreator-build.sh' ]; then
build_script='./kitcreator-build.sh'
fi
"${build_script}" 3>&1 4>&2 > build.log 2>&1 || exit 1
) || failed="1"
fi
if [ "${failed}" = "1" ]; then
echo " failed."
failedpkgs="${failedpkgs} ${pkg}"
else
|