Skip to content

Commit 1f0d3d0

Browse files
authored
Merge pull request #14 from systemofapwne/master
Fixed "unable to build" from scratch
2 parents 2269162 + e8c7a4e commit 1f0d3d0

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

build_rf24libs.sh

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,16 @@ cd ..
8989
rm -rf RF24Mesh
9090
echo "==> RF24Mesh installed / cleaned"
9191

92-
# Do not build gateway until functional release
93-
#echo "=>RF24Gateway..."
94-
#if [ -d RF24Gateway ] ; then
95-
#cd RF24Gateway; git pull ; cd ..
96-
#else
97-
#git clone $RF24GIT/RF24Gateway.git RF24Gateway
98-
#fi
99-
#cd RF24Gateway
100-
#make
101-
#sudo make install
102-
#cd ..
92+
echo "=>RF24Gateway..."
93+
if [ -d RF24Gateway ] ; then
94+
cd RF24Gateway; git pull ; cd ..
95+
else
96+
git clone $RF24GIT/RF24Gateway.git RF24Gateway
97+
fi
98+
cd RF24Gateway
99+
make
100+
sudo make install
101+
cd ..
103102

104103
cd ..
105104
rm -fr rf24libs

0 commit comments

Comments
 (0)