summaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/v_gmux_install.sh
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2017-10-18 07:04:00 -0700
committerEric Multanen <eric.w.multanen@intel.com>2017-10-18 07:04:00 -0700
commit92585cab04fa7f08bcfee3a6dcaefcc3d886c0e5 (patch)
treeefeb2c1a18517daad5b73fff752a6daf2ebba4d9 /vnfs/vCPE/scripts/v_gmux_install.sh
parent789383a67dd0170ac7e16c0a134c74bd08167a92 (diff)
Fixup errors in vgmux install script
Correct a couple typos made in the vgmux install script. Change-Id: Ib6eff3a875c3588bb1aad42a4105827d883b9c8d Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Diffstat (limited to 'vnfs/vCPE/scripts/v_gmux_install.sh')
-rw-r--r--vnfs/vCPE/scripts/v_gmux_install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/vCPE/scripts/v_gmux_install.sh b/vnfs/vCPE/scripts/v_gmux_install.sh
index 8aa23069..6c322b55 100644
--- a/vnfs/vCPE/scripts/v_gmux_install.sh
+++ b/vnfs/vCPE/scripts/v_gmux_install.sh
@@ -323,8 +323,8 @@ EOF
cd hc2vpp
patch -p1 < ../Hc2vpp-Add-VES-agent-for-vG-MUX.patch
p_version_snap=$(cat ves/ves-impl/pom.xml | grep -A 1 "jvpp-ves" | tail -1)
-p_version_snap=$(echo "${p_version%<*}")
-p_version_snap=$(echo "${p_version#*>}")
+p_version_snap=$(echo "${p_version_snap%<*}")
+p_version_snap=$(echo "${p_version_snap#*>}")
p_version=$(echo "${p_version_snap%-*}")
mkdir -p ~/.m2/repository/io/fd/vpp/jvpp-ves/${p_version_snap}
mvn install:install-file -Dfile=/usr/share/java/jvpp-ves-${p_version}.jar -DgroupId=io.fd.vpp -DartifactId=jvpp-ves -Dversion=${p_version_snap} -Dpackaging=jar