install.sh: Make OF1.3 Netbee location cmd-line configurable

If NBEEURL is defined when running install.sh, use that location.

Enables use of a local mirror for netbee download.

Thanks to David Erickson for the code.
This commit is contained in:
Brandon Heller
2013-06-20 15:57:39 -07:00
parent 2de621cda0
commit 40b13c28b8
+2 -1
View File
@@ -178,7 +178,8 @@ function of13 {
# Install netbee
NBEESRC="nbeesrc-jan-10-2013"
wget -nc http://www.nbee.org/download/${NBEESRC}.zip
NBEEURL=${NBEEURL:-http://www.nbee.org/download/}
wget -nc ${NBEEURL}${NBEESRC}.zip
unzip ${NBEESRC}.zip
cd ${NBEESRC}/src
cmake .