Skip to content

Commit

Permalink
Merge pull request #441 from boegel/2023.06-software.eessi.io_fix-dup…
Browse files Browse the repository at this point in the history
…licate-lmod-files-tarball

don't include files in .lmod directory twice in tarball
  • Loading branch information
trz42 authored Jan 2, 2024
2 parents 10cd25b + d299c74 commit 875bcf3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions create_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ echo ">> Collecting list of files/directories to include in tarball via ${PWD}..
files_list=${tmpdir}/files.list.txt
module_files_list=${tmpdir}/module_files.list.txt

# include Lmod cache and configuration file (lmodrc.lua),
if [ -d ${eessi_version}/software/${os}/${cpu_arch_subdir}/.lmod ]; then
# skip whiteout files and backup copies of Lmod cache (spiderT.old.*)
find ${eessi_version}/software/${os}/${cpu_arch_subdir}/.lmod -type f | egrep -v '/\.wh\.|spiderT.old' >> ${files_list}
fi

if [ -d ${eessi_version}/software/${os}/${cpu_arch_subdir}/.lmod ]; then
# include Lmod cache and configuration file (lmodrc.lua),
# skip whiteout files and backup copies of Lmod cache (spiderT.old.*)
Expand Down

0 comments on commit 875bcf3

Please sign in to comment.