Skip to content

Commit

Permalink
only copy module_files.list.txt if it exists in create_tarball.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Oct 2, 2024
1 parent cde0cc8 commit c9613e7
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions create_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,17 @@ for subdir in ${cpu_arch_subdir} ${cpu_arch_subdir}/accel/${accel_subdir}; do
done

# add a bit debug output
echo "wrote file list to ${files_list}"
[ -r ${files_list} ] && cat ${files_list}
echo "wrote module file list to ${module_files_list}"
[ -r ${module_files_list} ] && cat ${module_files_list}
if [ -r ${files_list} ]; then
echo "wrote file list to ${files_list}"
cat ${files_list}
fi
if [ -r ${module_files_list} ]; then
echo "wrote module file list to ${module_files_list}"
cat ${module_files_list}

# Copy the module files list to current workindg dir for later use in the test step
cp ${module_files_list} ${current_workdir}/module_files.list.txt
# Copy the module files list to current workindg dir for later use in the test step
cp ${module_files_list} ${current_workdir}/module_files.list.txt
fi

topdir=${cvmfs_repo}/versions/

Expand Down

0 comments on commit c9613e7

Please sign in to comment.