Skip to content

Commit 23f9ac0

Browse files
committed
check for easystack file in directory name with sw layer version suffix
1 parent 98a3cb1 commit 23f9ac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EESSI-install-software.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,9 @@ else
384384
for easystack_file in ${rebuild_easystacks} ${new_easystacks}; do
385385

386386
# make sure that easystack file being picked up is for EESSI version that we're building for...
387-
echo "${easystack_file}" | grep -q "^easystacks/$(basename ${EESSI_CVMFS_REPO})/${EESSI_VERSION}/"
387+
echo "${easystack_file}" | grep -q "^easystacks/$(basename ${EESSI_CVMFS_REPO})/${EESSI_VERSION}${EESSI_SOFTWARE_LAYER_VERSION_SUFFIX}/"
388388
if [ $? -ne 0 ]; then
389-
echo_yellow "Easystack file ${easystack_file} is not intended for EESSI version ${EESSI_VERSION}, skipping it..."
389+
echo_yellow "Easystack file ${easystack_file} is not intended for EESSI version ${EESSI_VERSION}${EESSI_SOFTWARE_LAYER_VERSION_SUFFIX}, skipping it..."
390390
else
391391
echo -e "Processing easystack file ${easystack_file}...\n\n"
392392

0 commit comments

Comments
 (0)