summaryrefslogtreecommitdiffstats
path: root/coverity/prepare_source_Osmcocom.sh
blob: 065630fc8fc9d61ac53cddfeff7a6b11a3011b49 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
BASEDIR=source-Osmocom

[ -d $BASEDIR ] || mkdir -p $BASEDIR
cd $BASEDIR

for proj in \
  asn1c \
  libasn1c \
  libosmo-abis \
  libosmocore \
  libosmo-dsp \
  libosmo-netif \
  libosmo-sccp \
  libsmpp34 \
  osmo-bsc \
  osmo-msc \
  osmo-mgw \
  osmo-ggsn \
  osmo-sgsn \
  osmo-bts \
  osmo-gmr \
  osmo-iuh \
  osmo-pcu \
  osmo-sysmon \
  osmo-sip-connector \
  osmo-trx \
  osmo-hlr \
  osmocom-bb \
  ; do

	if [ -d $proj ]; then
		(cd $proj && git fetch && git checkout -f -B master origin/master)
	else
		git clone git://git.osmocom.org/$proj
	fi
done

git clone git://git.sysmocom.de/sysmo-bts/layer1-api