Skip to content
Snippets Groups Projects
Commit eaebd8a4 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Don't do fancy moves

parent d37cb4a1
No related branches found
No related tags found
1 merge request!63Conda package based CI
......@@ -30,3 +30,7 @@ fi
# Copy the .tar.bz2 and urls.txt
merge_conda_cache ${CONDA_ENVS_PATH}/.pkgs ${CONDA_FOLDER}/pkgs
log_info ls ${CONDA_FOLDER}/pkgs
ls ${CONDA_FOLDER}/pkgs
log_info ls ${CONDA_ENVS_PATH}/.pkgs
ls ${CONDA_ENVS_PATH}/.pkgs
......@@ -273,7 +273,7 @@ merge_conda_cache() {
_urls="${1}/urls.txt"
if [ -e ${2} ]; then
log_info "Merging urls.txt and packages with cached files..."
mv -n ${2}/*.tar.bz2 ${1}/
mv ${2}/*.tar.bz2 ${1}/
cat ${_urls} ${_cached_urls} | sort | uniq > ${_urls}
fi
fi
......
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