summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-31 19:19:23 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-31 19:19:23 (EDT)
commitd9ce4dc128165ffb7ba95e2c175be82713c53745 (patch)
treeeb04f9424c89343f4b469e31080f05a3fb0b0375
parent18fc48cad1253b35c6726852a1b49c5ff6591f90 (diff)
bootstrap-stage1-build.sh: Add more output.
-rwxr-xr-xbootstrap-stage1-build.sh15
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 ..