From 3e70b01ec57307ec6accdac025366532d3872c43 Mon Sep 17 00:00:00 2001 From: David Erickson Date: Fri, 19 Jul 2013 10:32:20 -0700 Subject: [PATCH] Enable OF 1.3 switch revision choice --- util/install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/install.sh b/util/install.sh index 133d8f4..963fbc1 100755 --- a/util/install.sh +++ b/util/install.sh @@ -185,7 +185,12 @@ function of13 { unzip libpcre3-dev flex bison libboost-dev if [ ! -d "ofsoftswitch13" ]; then - git clone https://github.com/CPqD/ofsoftswitch13.git + git clone https://github.com/CPqD/ofsoftswitch13.git + if [[ -n "$OF13_SWITCH_REV" ]]; then + cd ofsoftswitch13 + git checkout ${OF13_SWITCH_REV} + cd .. + fi fi # Install netbee