You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using cargo-dist in a project, and was testing out the install script and saw an error message.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ethankhall/scope/releases/download/v2024.2.4/dev-scope-installer.sh | sh
sed: 1: "s,"CARGO_DIST_BINS","sc ...": bad flag in substitute command: '"'
The install looks to have worked, but I would expect to not see this error message.
System Details
❯ echo $SHELL
/bin/zsh
❯ zsh --version
zsh 5.9 (x86_64-apple-darwin23.0)
❯ sh --version
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin23)
Copyright (C) 2007 Free Software Foundation, Inc.
The text was updated successfully, but these errors were encountered:
RECEIPT="$(echo "$RECEIPT" | sed s,'"CARGO_DIST_BINS"',"$_bins_js_array",)"
This sed uses , instead of / to avoid the obvious problems of path separators, but then runs into the fact that we represent a list of binaries as a,b... which makes using , as a delimiter freak out.
This only affects "install receipts" which is a ground-work feature for future updater work. So your installer works fine but gets that ugly message. Definitely need to fix this and cut a quick release -- thanks for reporting!!
I'm using
cargo-dist
in a project, and was testing out the install script and saw an error message.The install looks to have worked, but I would expect to not see this error message.
System Details
The text was updated successfully, but these errors were encountered: