Skip to content

Commit c3dbda3

Browse files
committed
Updated setup script to install UHD 4.2
1 parent 06d7945 commit c3dbda3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

setup_script.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ main(){
4141
#Only get the Tag release not all changes --depth 1
4242
mkdir -p uhd_GitSource
4343
cd uhd_GitSource
44-
git clone --branch UHD-4.1 https://github.com/EttusResearch/uhd.git
44+
git clone --branch UHD-4.2 https://github.com/EttusResearch/uhd.git
4545
cd uhd
46-
git checkout 25d617cad7db69fa04699df5f93ece06b0a61199
46+
git checkout 321295fba49fb66ede365afbd9ef62971cdfbfca
4747

4848

4949
#Build the UHD driver and install it to system
@@ -113,14 +113,14 @@ user_input(){
113113
find_UHD_install(){
114114
VAR=$(ldconfig -p | grep "libuhd.so.4")
115115
if [[ $VAR == *"libuhd"* ]]; then
116-
if [[ $VAR == *"libuhd.so.4.1.0"* ]]; then
116+
if [[ $VAR == *"libuhd.so.4.2.0"* ]]; then
117117
return 0
118118
else
119119
echo ""
120-
echo "Warning: You don't have the correct version looking for UHD4.0.0. Instead found"
120+
echo "Warning: You don't have the correct version looking for UHD 4.2.0. Instead found"
121121
echo $VAR
122122

123-
tempText="Would you like to install UHD 4.1.0? "
123+
tempText="Would you like to install UHD 4.2.0? "
124124

125125
if user_input "$tempText"; then
126126
return 1
@@ -134,7 +134,7 @@ if [[ $VAR == *"libuhd"* ]]; then
134134
fi
135135
fi
136136
else
137-
tempText="Would you like to install UHD 4.1.0?"
137+
tempText="Would you like to install UHD 4.2.0?"
138138
if user_input "$tempText"; then
139139
return 1
140140
else

0 commit comments

Comments
 (0)