[PATCH build 02/10] Provide a visual break between components.
Trevor Woerner
twoerner at gmail.com
Sat Sep 18 13:11:06 PDT 2010
From: Trevor Woerner <twoerner at gmail.com>
As each component is processed, provide a visual break between them so it is
easier to see which component is being processed.
Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
build.sh | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/build.sh b/build.sh
index 0636173..14219ad 100755
--- a/build.sh
+++ b/build.sh
@@ -74,6 +74,22 @@ failed() {
fi
}
+# print a pretty title with the given string
+# args:
+# $1 - title string
+# returns:
+# (not significant)
+module_title() {
+ local _line="========================================================================"
+
+ # preconds
+ if [ -z "$1" ]; then
+ return
+ fi
+
+ echo -e "\n=== $1 ${_line:${#1}}"
+}
+
checkfortars() {
M=$1
C=$2
@@ -190,6 +206,8 @@ build() {
fi
fi
+ module_title "$1/$2"
+
SRCDIR=""
CONFCMD=""
if [ -f $1/$2/autogen.sh ]; then
--
1.7.3.rc2
More information about the xorg-devel
mailing list