add http:// to rpm install path 17/20717/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Thu, 8 Sep 2016 22:01:16 +0000 (15:01 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Thu, 8 Sep 2016 22:01:16 +0000 (15:01 -0700)
Change-Id: I9b1d0a5bb9c6b84515ee6daecc9b2e1983c93c7d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/apex/apex-deploy.sh

index dd2e716..72fa6f6 100755 (executable)
@@ -54,7 +54,7 @@ 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_INSTALL_PATH=$(echo "http://"$OPNFV_RPM_URL | sed 's/\/'"$(basename $OPNFV_RPM_URL)"'//')
       RPM_LIST=${RPM_INSTALL_PATH}/$(basename $OPNFV_RPM_URL)
     fi
 fi