From 0e68f1823c0caec3de33ec3f87928acf057559f3 Mon Sep 17 00:00:00 2001
From: Neves-P
Date: Sun, 10 Nov 2024 19:44:09 +0100
Subject: [PATCH] Look for installed software in the right directory
---
create_tarball.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create_tarball.sh b/create_tarball.sh
index a9861b465f..1f6f40d0c6 100755
--- a/create_tarball.sh
+++ b/create_tarball.sh
@@ -93,7 +93,7 @@ for subdir in ${cpu_arch_subdir} ${cpu_arch_subdir}/accel/${accel_subdir}; do
# installation directories), the procedure will likely not work.
for package_version in $(cat ${module_files_list}); do
echo "handling ${package_version}"
- ls -d ${eessi_version}/software/${os}/${subdir}/software/${package_version} \
+ ls -d ${install_prefix_dir}/software/${os}/${subdir}/software/${package_version} \
| grep -v '/\.wh\.' >> ${files_list} || true # Make sure we don't exit because of set -e if grep doesn't return a match
done
fi