tools-musl + tools-uclibc: begin refactoring to avoid repeated code
This commit is contained in:
parent
2546599186
commit
afcff59a6d
9 changed files with 15 additions and 64 deletions
|
@ -59,7 +59,7 @@ do_stages() {
|
|||
local flavor=$2
|
||||
|
||||
for s in 1 2 3; do
|
||||
local tgpath="${storedir}/builds/${flavor}/${arch}"
|
||||
local tgpath="${storedir}/builds/uclibc/${flavor}/${arch}"
|
||||
local target="stage${s}-${arch}-uclibc-${flavor}-${mydate}.tar.bz2"
|
||||
local tglink="stage${s}-${arch}-uclibc-${flavor}.tar.bz2"
|
||||
|
||||
|
@ -92,13 +92,6 @@ do_stages() {
|
|||
}
|
||||
|
||||
|
||||
#
|
||||
# approximate timings:
|
||||
#
|
||||
# catalyst -s current 3 minutes
|
||||
# catalyst -f stage1 130 minutes
|
||||
#
|
||||
|
||||
main() {
|
||||
>zzz.log
|
||||
|
||||
|
@ -117,7 +110,7 @@ main() {
|
|||
do_stages ${arch} ${flavor}
|
||||
ret=$?
|
||||
if [[ $? == 1 ]]; then
|
||||
echo "FAILURE at ${arch} ${flavor}" | tee zzz.log
|
||||
echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue