From 8dd50b098c3cd39f0558d61d87fa7608e5fd050e Mon Sep 17 00:00:00 2001 From: Neves-P Date: Fri, 29 Nov 2024 21:49:20 +0100 Subject: [PATCH] create_tarball handles software_dir with eessi_dev_project --- create_tarball.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/create_tarball.sh b/create_tarball.sh index 0966a09b3e..0b6819e81a 100755 --- a/create_tarball.sh +++ b/create_tarball.sh @@ -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