From d9ce4dc128165ffb7ba95e2c175be82713c53745 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 31 May 2013 19:19:23 -0400 Subject: bootstrap-stage1-build.sh: Add more output. --- 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 .. -- cgit v0.9.1