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