From 92585cab04fa7f08bcfee3a6dcaefcc3d886c0e5 Mon Sep 17 00:00:00 2001 From: Eric Multanen Date: Wed, 18 Oct 2017 07:04:00 -0700 Subject: 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 --- vnfs/vCPE/scripts/v_gmux_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vnfs') 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 -- cgit 1.2.3-korg