Mercurial > hg > aboriginal
diff sources/functions.sh @ 1358:9252453c40d0
Combine set_titlebar and "echo ===" stuff into announce() function. Consistently output target/stage info, and yank redundant instances.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 22 May 2011 04:18:30 -0500 |
parents | d4b251e78fc0 |
children | 02ada84fcbc5 |
line wrap: on
line diff
--- a/sources/functions.sh Sun May 22 04:13:54 2011 -0500 +++ b/sources/functions.sh Sun May 22 04:18:30 2011 -0500 @@ -83,7 +83,7 @@ . "$SOURCES/sections/$1".build cleanup else - echo "=== build section $1" + announce "$1" . "$SOURCES"/sections/"$1".sh fi CPUS=$OLDCPUS @@ -335,7 +335,7 @@ if [ -e "$BUILD/$STAGE_NAME-$ARCH" ] then - echo "=== Using existing ${STAGE_NAME}-$ARCH" + announce "Using existing ${STAGE_NAME}-$ARCH" return 1 else