Merge pull request #33 from omdsh-dev/fix/install-script-ws-yml
fix: install.sh 变量加花括号($WS_YML:→ ${WS_YML}),修复 macOS bash 3.2 unbound variable(#23)
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -164,7 +164,7 @@ if (t !== before) fs.writeFileSync(p, t);
|
|||||||
console.log(t === before ? "unchanged" : "updated");
|
console.log(t === before ? "unchanged" : "updated");
|
||||||
' "$WS_YML")"
|
' "$WS_YML")"
|
||||||
[ "$WS_RESULT" = "updated" ] \
|
[ "$WS_RESULT" = "updated" ] \
|
||||||
&& say "已确保 $WS_YML:allowBuilds(node-pty/protobufjs: true)+ minimumReleaseAgeExclude(${PKG})" \
|
&& say "已确保 ${WS_YML}:allowBuilds(node-pty/protobufjs: true)+ minimumReleaseAgeExclude(${PKG})" \
|
||||||
|| say "workspace 设置已就绪,跳过"
|
|| say "workspace 设置已就绪,跳过"
|
||||||
|
|
||||||
# 步骤 2:官方 CLI 安装 + bundle 自动注册(含挂载)
|
# 步骤 2:官方 CLI 安装 + bundle 自动注册(含挂载)
|
||||||
|
|||||||
Reference in new issue
Block a user