Skip to content

Commit

Permalink
create_tarball handles software_dir with eessi_dev_project
Browse files Browse the repository at this point in the history
  • Loading branch information
Neves-P committed Nov 29, 2024
1 parent 5a7012c commit 8dd50b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion create_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ if [ -z ${install_prefix_dir} ]; then
exit 2
fi

software_dir="${cvmfs_repo}/versions/${eessi_version}/software/${os}/${cpu_arch_subdir}"
# software_dir includes $eessi_dev_project if defined, otherwise install omit
software_dir="${cvmfs_repo}/versions/${eessi_version}${eessi_dev_project:+/$eessi_dev_project}/software/${os}/${cpu_arch_subdir}"
if [ ! -d ${software_dir} ]; then
echo "Software directory ${software_dir} does not exist?!" >&2
exit 2
Expand Down

0 comments on commit 8dd50b0

Please sign in to comment.