Skip to content

Commit 301ab59

Browse files
committed
Make check_missing_installations.sh check against develop branch of EasyBuild
1 parent 129d66b commit 301ab59

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

check_missing_installations.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ easystack=$1
1818

1919
LOCAL_TMPDIR=$(mktemp -d)
2020

21+
# Clone the develop branch of EasyBuild and use that to search for easyconfigs
22+
git clone -b develop https://github.com/easybuilders/easybuild-easyconfigs.git $LOCAL_TMPDIR/easyconfigs
23+
EASYBUILD_ROBOT_PATHS=$LOCAL_TMPDIR/easyconfigs/easybuild/easyconfigs
24+
25+
# All PRs used in EESSI are supposed to be merged, so we can strip out all cases of from-pr
26+
grep -v from-pr ${easystack} > ${LOCAL_TMPDIR}/${easystack}
27+
2128
source $TOPDIR/scripts/utils.sh
2229

2330
source $TOPDIR/configure_easybuild
@@ -27,7 +34,7 @@ ${EB:-eb} --show-config
2734

2835
echo ">> Checking for missing installations in ${EASYBUILD_INSTALLPATH}..."
2936
eb_missing_out=$LOCAL_TMPDIR/eb_missing.out
30-
${EB:-eb} --easystack ${easystack} --missing 2>&1 | tee ${eb_missing_out}
37+
${EB:-eb} --easystack ${LOCAL_TMPDIR}/${easystack} --missing 2>&1 | tee ${eb_missing_out}
3138
exit_code=${PIPESTATUS[0]}
3239

3340
ok_msg="Command 'eb --missing ...' succeeded, analysing output..."

0 commit comments

Comments
 (0)