We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d1d210 commit 36e0baeCopy full SHA for 36e0bae
1 file changed
scripts/ingest-tarball.sh
@@ -261,6 +261,7 @@ tar_top_level_dir=$(echo "${tar_first_file}" | cut -d/ -f1)
261
# Handle longer prefix with project name in dev.eessi.io and
262
# get the right basedir from the tarball name
263
if [ "${cvmfs_repo}" = "dev.eessi.io" ]; then
264
+ # the project name is the second to last field in the filename (e.g. eessi-2023.06-software-linux-x86_64-amd-zen4-myproject-1744725142.tar.gz)
265
project_name=$(echo "${tar_file_basename}" | rev | cut -d- -f2 | rev)
266
basedir="${project_name}"/versions
267
else
0 commit comments