From 1989ff96d8369f77e0e14756d96b653b5bee9846 Mon Sep 17 00:00:00 2001 From: Euan Kemp Date: Wed, 6 Sep 2017 16:22:39 -0700 Subject: [PATCH] build_torcx_store: upload to 'pkgs' This is consistent with the local directory hierarchy --- build_torcx_store | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_torcx_store b/build_torcx_store index 27cf9f6eaa..7a2de8451f 100755 --- a/build_torcx_store +++ b/build_torcx_store @@ -202,7 +202,7 @@ function torcx_package() { pkg_locations+=("/usr/share/torcx/store/${name}:${version}.torcx.tgz") fi if [[ "${FLAGS_upload}" -eq ${FLAGS_TRUE} ]]; then - pkg_locations+=("$(download_tectonic_torcx_url "pkg/${BOARD}/${name}/${digest}/${name}:${version}.torcx.tgz")") + pkg_locations+=("$(download_tectonic_torcx_url "pkgs/${BOARD}/${name}/${digest}/${name}:${version}.torcx.tgz")") fi torcx_manifest::add_pkg "${manifest_path}" \ "${name}" \ @@ -244,7 +244,7 @@ for pkg in $(torcx_manifest::get_pkg_names "${manifest_path}"); do # no need to sign; the manifest includes their shasum and is signed. upload_files \ 'torcx pkg' \ - "${TORCX_UPLOAD_ROOT}/pkg/${BOARD}/${pkg}/${digest}" \ + "${TORCX_UPLOAD_ROOT}/pkgs/${BOARD}/${pkg}/${digest}" \ "" \ "${TORCX_CAS_ROOT}/${pkg}/${digest}"/*.torcx.tgz done