Skip to content

Commit b8c2384

Browse files
committed
combine file types for modules to get rid of OR operator
1 parent baf948c commit b8c2384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ for subdir in ${cpu_arch_subdir} ${cpu_arch_subdir}/accel/${accel_subdir}; do
7171
# module symlinks
7272
find ${eessi_version}/software/${os}/${subdir}/modules -type l \! -name '.wh.*' >> ${files_list}
7373
# module files and symlinks
74-
find ${eessi_version}/software/${os}/${subdir}/modules/all -type f -o -type l \! -name '.wh.*' \
74+
find ${eessi_version}/software/${os}/${subdir}/modules/all -type f,l \! -name '.wh.*' \
7575
| grep -v '/\.modulerc\.lua' | sed -e 's/.lua$//' | sed -e 's@.*/modules/all/@@g' | sort -u \
7676
>> ${module_files_list}
7777
fi

0 commit comments

Comments
 (0)