summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-09-08 17:42:24 -0400
committerTim Rozet <trozet@redhat.com>2016-09-08 17:42:24 -0400
commitecfe1994b4826ce829f6564428b0e16ba94e36bb (patch)
treed431aca723025cf2be2fbb4b95d824f943679d7f /jjb
parent7239f29c6a6a32a658b154df72bb9b99e4fe05ed (diff)
Apex: fix rpm latest path
Change-Id: I78a67475956405193a55a1d8d13a93bfe913c8f5 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/apex/apex-deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh
index 3b43dcf7e..dd2e716d4 100755
--- a/jjb/apex/apex-deploy.sh
+++ b/jjb/apex/apex-deploy.sh
@@ -54,8 +54,8 @@ else
fi
# source the file so we get OPNFV vars
source opnfv.properties
- RPM_INSTALL_PATH=$(echo $OPNFV_RPM_URL | sed 's/'"$(basename $OPNFV_RPM_URL)"'//')
- RPM_LIST=${RPM_INSTALL_PATH}$(basename $OPNFV_RPM_URL)
+ RPM_INSTALL_PATH=$(echo $OPNFV_RPM_URL | sed 's/\/'"$(basename $OPNFV_RPM_URL)"'//')
+ RPM_LIST=${RPM_INSTALL_PATH}/$(basename $OPNFV_RPM_URL)
fi
fi