Skip to content

Commit 139191b

Browse files
authored
fix check for location of easystack file vs EESSI version
1 parent 06d50e9 commit 139191b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EESSI-install-software.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ else
359359
for easystack_file in ${rebuild_easystacks} ${new_easystacks}; do
360360

361361
# make sure that easystack file being picked up is for EESSI version that we're building for...
362-
echo "${easystack_file}" | grep -q "^easystacks/software.eessi.io/${EESSI_VERSION}/"
362+
echo "${easystack_file}" | grep -q "^easystacks/$(basename ${EESSI_CVMFS_REPO})/${EESSI_VERSION}/"
363363
if [ $? -ne 0 ]; then
364364
fatal_error "Easystack file ${easystack_file} is not intended for EESSI version ${EESSI_VERSION}, giving up!"
365365
fi

0 commit comments

Comments
 (0)