Change variable name BUNDLE_URL->BUNDLE_PATH 65/55865/2
authorLuis Gomez <ecelgp@gmail.com>
Mon, 24 Apr 2017 01:07:55 +0000 (18:07 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 25 Apr 2017 16:27:41 +0000 (09:27 -0700)
This is to avoid confusion with global variable BUNDLE_URL.

Change-Id: I1a22f8e627424bb8d8f629f69bbefd9e1e5c1744
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
jjb/integration/integration-distribution-check.sh

index bfddce9c0ea7d7a7ab8495fd9c976e09151729e1..3099a010dbc8a7dcf16319d570760f7103e4c58d 100644 (file)
@@ -4,7 +4,7 @@ ACTUALFEATURES="odl-integration-all"
 BUNDLEVERSION="$(xpath distribution/pom.xml '/project/version/text()' 2> /dev/null)"
 BUNDLEFOLDER="${KARAF_ARTIFACT}-${BUNDLEVERSION}"
 BUNDLE="${BUNDLEFOLDER}.zip"
-BUNDLE_URL="/tmp/r/org/opendaylight/integration/${KARAF_ARTIFACT}/${BUNDLEVERSION}/${BUNDLE}"
+BUNDLE_PATH="/tmp/r/org/opendaylight/integration/${KARAF_ARTIFACT}/${BUNDLEVERSION}/${BUNDLE}"
 
 echo "Kill any controller running"
 ps axf | grep karaf | grep -v grep | awk '{print "kill -9 " $1}' | sh
@@ -13,7 +13,7 @@ echo "Clean workspace"
 rm -rf *
 
 echo "Copying the distribution..."
-cp "${BUNDLE_URL}" .
+cp "${BUNDLE_PATH}" .
 
 echo "Extracting the new controller..."
 unzip -q "${BUNDLE}"