Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: flaky install.sh upgrade on OSX (zsh killed)#2309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bpmct merged 2 commits intomainfrombpmct/install-fixes
Jun 15, 2022

Conversation

bpmct
Copy link
Member

@bpmctbpmct commentedJun 13, 2022
edited
Loading

Fixes#2086. This likely has something to do with how MacOS trusts binaries

To test

@misskniss @mark-theshark - would appreciate if you could confirm this fixes it

Broken:

# see the current versioncoder --version# install a different version of Coder (n+1 or n-1)curl -L https://raw.githubusercontent.com/coder/coder/main/install.sh| sh -s -- --version=0.6.6# run the binarycoder version# [1]    48010 killed     coder

Fixed:

# see the current versioncoder --version# install a different version of Coder (n+1 or n-1)curl -L https://raw.githubusercontent.com/coder/coder/bpmct/install-fixes/install.sh| sh -s -- --version=0.6.6# run the binarycoder# Coder v0.6.6+cbde8e8 Mon Jun 13 14:16:26 UTC 2022# https://github.com/coder/coder/commit/cbde8e8b91097412b2ae0daa72d1b698b61584bc!

Comment on lines -88 to +89
Standalone release has been installed into$STANDALONE_INSTALL_PREFIX/bin/$STANDALONE_BINARY_NAME
Standalone release has been installed into$STANDALONE_INSTALL_PREFIX/bin/$STANDALONE_BINARY_NAME
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

did a lil bit of formatting here

Comment on lines 397 to 401
# Remove the file if it already exists to
# avoid https://github.com/coder/coder/issues/2086
if [-f"$COPY_LOCATION" ];then
"$sh_c" rm$COPY_LOCATION
fi
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Copy link

@missknissmisskniss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

That fixed it for me. Thanks@bpmct !

@bpmctbpmct merged commit8f7dbee intomainJun 15, 2022
@bpmctbpmct deleted the bpmct/install-fixes branchJune 15, 2022 16:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sharkymarksharkymarkAwaiting requested review from sharkymark

@spikecurtisspikecurtisAwaiting requested review from spikecurtis

1 more reviewer

@missknissmissknissmisskniss approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@bpmctbpmct

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Coder gets zsh killed on macOS (not M1) after curl installing 0.6.2 AMD64 build

2 participants

@bpmct@misskniss

[8]ページ先頭

©2009-2025 Movatter.jp