Skip to content

Commit ee07e06

Browse files
committed
chore(release): bootstrap pin -> 0.0.61 + fix install.sh NO_PATH unbound var
- .xlings.json: bump self-host bootstrap pin to 0.0.61, now that it's released + mirrored (xlings-res/mcpp gh+gitcode) + indexed (xim-pkgindex mcpp.lua latest=0.0.61, artifact republished). CI now bootstraps from 0.0.61. - install.sh: the final 'source $rc' hint referenced $rc, which is only set in the PATH-integration branch — with MCPP_NO_PATH set, 'set -u' tripped an unbound-variable error AFTER a successful install (non-zero exit). Guard the message: print the source hint only when rc is set, else a PATH hint.
1 parent 52df10e commit ee07e06

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.xlings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"workspace": {
3-
"mcpp": "0.0.60"
3+
"mcpp": "0.0.61"
44
}
55
}

install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,8 @@ echo
158158
"$PREFIX/bin/mcpp" --version
159159
echo
160160
echo "✓ mcpp installed at $PREFIX"
161-
echo " Open a new shell (or 'source $rc') and run: mcpp --help"
161+
if [[ -n "${rc:-}" ]]; then
162+
echo " Open a new shell (or 'source $rc') and run: mcpp --help"
163+
else
164+
echo " Add $PREFIX/bin to your PATH, then run: mcpp --help"
165+
fi

0 commit comments

Comments
 (0)