Fix hardcoded branch

Change-Id: I67e9d2955eae4d2e329bfc43335bcdfcd7f7da85
diff --git a/scripts/cord-in-a-box.sh b/scripts/cord-in-a-box.sh
index 922103a..c6dba09 100755
--- a/scripts/cord-in-a-box.sh
+++ b/scripts/cord-in-a-box.sh
@@ -121,7 +121,7 @@
     dig +short gerrit.opencord.org || (echo "ERROR: gerrit.opencord.org can't be looked up in DNS" && exit 1)
 
     mkdir $CORDDIR && cd $CORDDIR
-    repo init -u https://gerrit.opencord.org/manifest -b master -g build,onos,orchestration,voltha
+    repo init -u https://gerrit.opencord.org/manifest -b $REPO_BRANCH -g build,onos,orchestration,voltha
     repo sync
 
     # check out gerrit branches using repo
diff --git a/scripts/opencloud-in-a-box.sh b/scripts/opencloud-in-a-box.sh
index 4d53c94..ab57075 100755
--- a/scripts/opencloud-in-a-box.sh
+++ b/scripts/opencloud-in-a-box.sh
@@ -112,7 +112,7 @@
     dig +short gerrit.opencord.org || (echo "ERROR: gerrit.opencord.org can't be looked up in DNS" && exit 1)
 
     mkdir $CORDDIR && cd $CORDDIR
-    repo init -u https://gerrit.opencord.org/manifest -b master -g build,onos,orchestration,voltha
+    repo init -u https://gerrit.opencord.org/manifest -b $REPO_BRANCH -g build,onos,orchestration,voltha
     repo sync
 
     # check out gerrit branches using repo