Skip to content

Commit 5e6ea4e

Browse files
authored
Merge pull request #8 from EESSI/ocaisa-patch-1
fix check for wrong path to easystack in sanity check
2 parents a621ae5 + 139191b commit 5e6ea4e

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/${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)