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:
Brandon Heller
2013-06-04 23:53:04 -07:00
parent 2a079911b5
commit 3582facd34
+6 -5
View File
@@ -177,15 +177,16 @@ function of13 {
fi
# Install netbee
wget -nc http://www.nbee.org/download/nbeesrc-12-05-16.zip
unzip nbeesrc-12-05-16.zip
cd ~/nbeesrc/src
NBEESRC="nbeesrc-jan-10-2013"
wget -nc http://www.nbee.org/download/${NBEESRC}.zip
unzip ${NBEESRC}.zip
cd ${NBEESRC}/src
cmake .
make
cd ~/
sudo cp nbeesrc/bin/libn*.so /usr/local/lib
sudo cp ${NBEESRC}/bin/libn*.so /usr/local/lib
sudo ldconfig
sudo cp -R nbeesrc/include/ /usr/
sudo cp -R ${NBEESRC}/include/ /usr/
# Resume the install:
cd ~/ofsoftswitch13