From cad25554a539337641843182ca00de58cf9f3d96 Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 17 Feb 2026 21:02:25 +0100 Subject: [PATCH] Fix dir check so that it actually checks the dir on which find is run --- create_tarball.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_tarball.sh b/create_tarball.sh index 3e79a571..d3251ba1 100755 --- a/create_tarball.sh +++ b/create_tarball.sh @@ -91,7 +91,7 @@ for subdir in ${sw_subdirs}; do echo "handling ${package_version}" find ${eessi_version}/software/${os}/${subdir}/software/${package_version} -maxdepth 0 -type d \! -name '.wh.*' >> ${files_list} # if there is a directory for this installation in the stack's reprod directory, include that too - if [ -d ${eessi_version}/software/${os}/${subdir}/reprod ]; then + if [ -d ${eessi_version}/software/${os}/${subdir}/reprod/${package_version} ]; then find ${eessi_version}/software/${os}/${subdir}/reprod/${package_version} -maxdepth 0 -type d \! -name '.wh.*' >> ${files_list} fi done