Skip to content

Commit 431d1ae

Browse files
committed
actually pass oldest_stack_lmod_update_script as argument
1 parent dd1ce43 commit 431d1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ingest-tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function update_lmod_caches() {
185185
# Find the oldest version that we have, and use its Lmod to generate the cache to get better backwards compatibilty with old Lmod versions
186186
oldest_stack=$(ls -1 -v "${CVMFS_ROOT}/${cvmfs_repo}/${basedir}" | head -n 1)
187187
oldest_stack_lmod_update_script="${CVMFS_ROOT}/${cvmfs_repo}/${basedir}/${oldest_stack}/compat/linux/$(uname -m)/usr/share/Lmod/libexec/update_lmod_system_cache_files"
188-
${update_caches_script} "${CVMFS_ROOT}/${cvmfs_repo}/${basedir}/${version}"
188+
${update_caches_script} "${CVMFS_ROOT}/${cvmfs_repo}/${basedir}/${version}" "${oldest_stack_lmod_update_script}"
189189
ec=$?
190190
if [ $ec -eq 0 ]; then
191191
${cvmfs_server} publish -m "update Lmod caches after ingesting ${tar_file_basename}" "${cvmfs_repo}"

0 commit comments

Comments
 (0)