blob: d84d006fc03f78648fd379ff196310e925d64d69 (
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
|
#!/bin/bash
if [ $# -eq 0 ]
then
echo "Need positioning commit version"
exit
fi
positioning_version=$1
if [ -d "./build" ]
then
find ./build/navigation/positioning ! -name '*.cbp' -type f -exec rm -f {} +
fi
rm -rf navigation/src/navigation/positioning
cd navigation/src/navigation
git clone https://github.com/GENIVI/positioning.git ./positioning
cd positioning
git checkout $positioning_version
cd ../../../../
|