aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins.sh
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-27 13:59:54 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-29 15:55:34 +0200
commite75a6297da9337db95e94c4eb1cebc1e72fb9d41 (patch)
tree31956b18efd4b35fd81fab996569be0dd4c3c11e /contrib/jenkins.sh
parent6dc074c9aa4eed9f6a69d2bc613f4852aaaa2fc7 (diff)
jenkins.sh: cosmetic: mark start of main build
Add function 'marker' so we don't repeat the five echos, use in build_dep and before main build. Change-Id: I58ab958414eb9e9b0fd7e214103578e5b4aa6ff2
Diffstat (limited to 'contrib/jenkins.sh')
-rwxr-xr-xcontrib/jenkins.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 4b92861..c24bec2 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -9,16 +9,20 @@ inst="$deps/install"
mkdir "$deps" || true
rm -rf "$inst"
-build_dep() {
- project="$1"
- branch="$2"
+marker() {
set +x
echo
echo
echo
- echo " =============================== $project ==============================="
+ echo " =============================== $@ ==============================="
echo
set -x
+}
+
+build_dep() {
+ project="$1"
+ branch="$2"
+ marker $project
if [ -z "$project" ]; then
echo "internal failure"
exit 1
@@ -49,6 +53,7 @@ build_dep libasn1c
# the asn1c binary is used by the 'regen' target below
build_dep asn1c aper-prefix
+marker osmo-iuh
cd "$base"
# Build using the checked-in asn1 code
autoreconf --install --force