install.sh: Use newer Netbee location for OF1.3 install
The previous version (12-05-16) does not compile on Ubuntu 12.10. Also use a local variable to reduce duplication.
This commit is contained in:
+6
-5
@@ -177,15 +177,16 @@ function of13 {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install netbee
|
# Install netbee
|
||||||
wget -nc http://www.nbee.org/download/nbeesrc-12-05-16.zip
|
NBEESRC="nbeesrc-jan-10-2013"
|
||||||
unzip nbeesrc-12-05-16.zip
|
wget -nc http://www.nbee.org/download/${NBEESRC}.zip
|
||||||
cd ~/nbeesrc/src
|
unzip ${NBEESRC}.zip
|
||||||
|
cd ${NBEESRC}/src
|
||||||
cmake .
|
cmake .
|
||||||
make
|
make
|
||||||
cd ~/
|
cd ~/
|
||||||
sudo cp nbeesrc/bin/libn*.so /usr/local/lib
|
sudo cp ${NBEESRC}/bin/libn*.so /usr/local/lib
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
sudo cp -R nbeesrc/include/ /usr/
|
sudo cp -R ${NBEESRC}/include/ /usr/
|
||||||
|
|
||||||
# Resume the install:
|
# Resume the install:
|
||||||
cd ~/ofsoftswitch13
|
cd ~/ofsoftswitch13
|
||||||
|
|||||||
Reference in New Issue
Block a user