Skip to content
Snippets Groups Projects
Commit 1fd38d77 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[ci] Fix conda cache merge

parent 938c0bb1
No related branches found
No related tags found
No related merge requests found
Pipeline #25811 failed
...@@ -53,8 +53,8 @@ check_defined() { ...@@ -53,8 +53,8 @@ check_defined() {
# $2: Path to the extra cache to be merged into main cache # $2: Path to the extra cache to be merged into main cache
merge_conda_cache() { merge_conda_cache() {
if [ -e ${1} ]; then if [ -e ${1} ]; then
_cached_urlstxt="${2}/urls.txt" _cached_urlstxt="${2}/pkgs/urls.txt"
_urlstxt="${1}/urls.txt" _urlstxt="${1}/pkgs/urls.txt"
if [ -e ${2}/pkgs ]; then if [ -e ${2}/pkgs ]; then
log_info "Merging urls.txt and packages with cached files..." log_info "Merging urls.txt and packages with cached files..."
mv ${2}/pkgs/*.tar.bz2 ${1}/pkgs mv ${2}/pkgs/*.tar.bz2 ${1}/pkgs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment