Fixed path to list for git repos download 72/79272/4
authorTomáš Levora <t.levora@partner.samsung.com>
Wed, 27 Feb 2019 15:29:26 +0000 (16:29 +0100)
committerTomáš Levora <t.levora@partner.samsung.com>
Thu, 28 Feb 2019 08:44:28 +0000 (09:44 +0100)
Added missing part of file name for correct dowload of git repositories

Issue-ID: OOM-1684

Change-Id: Ic8235a04ea12e13ca7e4165734bd15a81f7c8578
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
build/creating_data/download-git-repos.sh
build/download_offline_data_by_lists.sh

index bb4a79f..0219eb6 100755 (executable)
@@ -24,7 +24,7 @@ usage () {
     echo "Usage:"
     echo -e "./$(basename $0) <repository list> [destination directory]\n"
     echo "Examples:"
-    echo "  ./$(basename $0) onap_3.0.0 ./git-repo"
+    echo "  ./$(basename $0) onap_3.0.0-git_repos.list ./git-repo"
 }
 
 LIST="${1}"
index aede41d..b7acb4a 100755 (executable)
@@ -67,7 +67,7 @@ mv "${DATA_DIR}/offline_data/docker_images_for_nexus/own_nginx_latest.tar" "${DA
 mv "${DATA_DIR}/offline_data/docker_images_for_nexus/sonatype_nexus3_latest.tar" "${DATA_DIR}/offline_data/docker_images_infra"
 
 echo "[Step $((CURR++))/$TOTAL Download git repos]"
-$CTOOLS/download-git-repos.sh "${LISTS_DIR}/${TAG}" "${DATA_DIR}/git-repo"
+$CTOOLS/download-git-repos.sh "${LISTS_DIR}/${TAG}-git_repos.list" "${DATA_DIR}/git-repo"
 
 echo "[Step $((CURR++))/$TOTAL Download http files]"
 $CTOOLS/download-http-files.sh "${LISTS_DIR}/${TAG}-http_files.list" "${DATA_DIR}/http"