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

Commit61e5721

Browse files
fix(install.sh): use--version when provided (#12873)
1 parent3fbcdb0 commit61e5721

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎install.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,12 @@ main() {
390390
STANDALONE_INSTALL_PREFIX=${STANDALONE_INSTALL_PREFIX:-/usr/local}
391391
STANDALONE_BINARY_NAME=${STANDALONE_BINARY_NAME:-coder}
392392
STABLE_VERSION=$(echo_latest_stable_version)
393-
if ["${MAINLINE}"= 0 ];then
394-
VERSION=${STABLE_VERSION}
395-
else
396-
VERSION=$(echo_latest_mainline_version)
393+
if [-z"${VERSION}" ];then
394+
if ["${MAINLINE}"= 0 ];then
395+
VERSION=${STABLE_VERSION}
396+
else
397+
VERSION=$(echo_latest_mainline_version)
398+
fi
397399
fi
398400

399401
distro_name

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp