From 3582facd342ae1375df16735aa23f063bd3393a8 Mon Sep 17 00:00:00 2001 From: Brandon Heller Date: Tue, 4 Jun 2013 22:58:43 -0700 Subject: [PATCH] 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. --- util/install.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/util/install.sh b/util/install.sh index a1d0b1d..981928f 100755 --- a/util/install.sh +++ b/util/install.sh @@ -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