From 40b13c28b81323058ea74162770e2687bc8fc837 Mon Sep 17 00:00:00 2001 From: Brandon Heller Date: Thu, 20 Jun 2013 15:57:23 -0700 Subject: [PATCH] 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. --- util/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/install.sh b/util/install.sh index eabc33d..82f5014 100755 --- a/util/install.sh +++ b/util/install.sh @@ -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 .