aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins_common.sh
blob: 824dd43a9dedacfc7c1c4e01113de8bb05a70874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

set -ex

base="$PWD"
deps="$base/deps"
inst="$deps/install"

export deps inst

mkdir -p "$deps"
rm -rf "$inst"

cd "$deps"

# Get libosmocore for verify_value_string_arrays_are_terminated.py
osmo-deps.sh libosmocore

# Get OpenBSC for gsm_data_shared.*
osmo-deps.sh openbsc

cd "$base"

"$deps"/libosmocore/contrib/verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")