Skip to content

Commit

Permalink
Update create_tarball.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa authored Dec 21, 2023
1 parent 43c73c0 commit 3ec3df8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ module_files_list=${tmpdir}/module_files.list.txt
# include scripts that were copied by install_scripts.sh
if [ -d ${eessi_version}/scripts ]; then
# include scripts we wish to ship along with EESSI,
find ${eessi_version}/scripts -type f | grep -v '/\.wh\.' >> ${files_list}
find ${eessi_version}/scripts -type f | grep -v '/\.wh\.' > ${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.*)
find ${eessi_version}/software/${os}/${cpu_arch_subdir}/.lmod -type f | egrep -v '/\.wh\.|spiderT.old' > ${files_list}
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}/modules ]; then
# module files
Expand Down

0 comments on commit 3ec3df8

Please sign in to comment.