-
Notifications
You must be signed in to change notification settings - Fork 1
/
clone_pothos_repos
executable file
·69 lines (61 loc) · 1.07 KB
/
clone_pothos_repos
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
#clone repo structure if it does not exist
REPOS="
gnuradio-companion-exe
gr-pothos
PothosCore
PothosAudio
PothosBlocks
PothosComms
PothosDemos
PothosFlow
PothosGPU
PothosIIO
PothosJava
PothosOpenCL
PothosPlotters
PothosPython
PothosSoapy
PothosWidgets
PothosLiquidDSP
SoapyAirspy
SoapyAirspyHF
SoapyAudio
SoapyBladeRF
SoapyHackRF
SoapyMultiSDR
SoapyOsmo
SoapyRedPitaya
SoapyRemote
SoapyRTLSDR
SoapySDR
SoapySDRPlay3
SoapyUHD
SoapyPlutoSDR
SoapyFCDPP
SoapyNetSDR
SoapySidekiq
SoapyVOLKConverters
SoapySpyServer
"
ROOT=$1
if [[ -z "${ROOT}" ]]; then
echo "Usage: $0 [root path]"
exit -1
fi
echo "Cloning repos into ${ROOT}"
for REPO in $REPOS; do
GIT_REPO=${ROOT}/${REPO}/
[email protected]:pothosware/${REPO}.git
if [ ! -d "$GIT_REPO" ]; then
echo "Cloning into $GIT_REPO"
git clone $GIT_URL $GIT_REPO
fi
GIT_REPO=${ROOT}/docs/${REPO}.wiki/
[email protected]:pothosware/${REPO}.wiki.git
if [ ! -d "$GIT_REPO" ]; then
echo "Cloning into $GIT_REPO"
git clone $GIT_URL $GIT_REPO
fi
done
echo "Done!"