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 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