diff options
Diffstat (limited to 'bootstrap-stage1-build.sh')
-rwxr-xr-x | bootstrap-stage1-build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap-stage1-build.sh b/bootstrap-stage1-build.sh index ccee2e8..f51fe2a 100755 --- a/bootstrap-stage1-build.sh +++ b/bootstrap-stage1-build.sh @@ -12,6 +12,20 @@ main() build_packages } +log() +{ + local msg i + + msg="$(printf "${@}")" + printf '\n%s\n' "${msg}" + i=0 + while [ ${i} -lt ${#msg} ]; do + printf '-' + i=$(($i + 1)) + done + printf '\n\n' +} + build_packages() { local dir @@ -19,6 +33,7 @@ build_packages() cd pkg for dir in */; do + log 'Building package %s...' "${dir%/}" cd "${dir}" opkbuild -bC cd .. |