Skip to content

Commit 36e0bae

Browse files
Neves-Pbedroge
andauthored
Add comment on tarball and project name
Co-authored-by: Bob Dröge <b.e.droge@rug.nl>
1 parent 5d1d210 commit 36e0bae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/ingest-tarball.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ tar_top_level_dir=$(echo "${tar_first_file}" | cut -d/ -f1)
261261
# Handle longer prefix with project name in dev.eessi.io and
262262
# get the right basedir from the tarball name
263263
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)
264265
project_name=$(echo "${tar_file_basename}" | rev | cut -d- -f2 | rev)
265266
basedir="${project_name}"/versions
266267
else

0 commit comments

Comments
 (0)