We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c2384 commit 1fa8476Copy full SHA for 1fa8476
create_tarball.sh
@@ -85,8 +85,7 @@ for subdir in ${cpu_arch_subdir} ${cpu_arch_subdir}/accel/${accel_subdir}; do
85
# installation directories), the procedure will likely not work.
86
for package_version in $(cat ${module_files_list}); do
87
echo "handling ${package_version}"
88
- ls -d ${eessi_version}/software/${os}/${subdir}/software/${package_version} \
89
- | grep -v '/\.wh\.' >> ${files_list} || true # Make sure we don't exit because of set -e if grep doesn't return a match
+ find ${eessi_version}/software/${os}/${subdir}/software/${package_version} -maxdepth 0 -type d \! -name '.wh.*' >> ${files_list}
90
done
91
fi
92
0 commit comments