Skip to content

Commit ceb76ed

Browse files
committed
probe: run the store binary, not the shim
1 parent 1080fe9 commit ceb76ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/probe/655-readings.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
# fails the compile and must not take the others with it.
66
set +e
77
M="${MCPP:?}"
8+
# The shim refuses outside the repository's pinned subos; address the store copy.
9+
for cand in "$HOME"/.xlings/data/xpkgs/xim-x-mcpp/*/bin/mcpp "$HOME"/.xlings/data/xpkgs/xim-x-mcpp/*/bin/mcpp.exe; do
10+
[ -x "$cand" ] && M="$cand"
11+
done
812
PY=$(command -v python3 || command -v python)
913
ROOT="$(mktemp -d)"
1014
reading() { echo "READING $*"; echo "- \`$*\`" >> "${GITHUB_STEP_SUMMARY:-/dev/null}"; }

0 commit comments

Comments
 (0)