aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/osmo-deps.sh
blob: 660ceb6918a86258b914887297d8e3d9ea97ceb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -ex

if ! test -d $1;
then
  git clone git://git.osmocom.org/$1 $1
fi

cd $1
git fetch origin
git reset --hard origin/master