aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/osmo-deps.sh
blob: 86da9a690770bc14c87f26f242bf8d7ae58c82f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
git rev-parse HEAD