浏览代码

quotes back

Bob Mottram 7 年前
父节点
当前提交
5c297934a3
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1
    2
      src/freedombone-utils-go

+ 1
- 2
src/freedombone-utils-go 查看文件

@@ -215,8 +215,7 @@ function mesh_upgrade_golang {
215 215
         exit 356356785
216 216
     fi
217 217
     ls -la "${rootdir}/home/go/go${GO_VERSION}"
218
-    # shellcheck disable=SC2086
219
-    if ! cp ${rootdir}/home/go/go${GO_VERSION}/bin/* "${rootdir}/usr/bin"; then
218
+    if ! cp "${rootdir}/home/go/go${GO_VERSION}/bin/"* "${rootdir}/usr/bin"; then
220 219
         ls -la "${rootdir}/home/go/go${GO_VERSION}"
221 220
         echo $'Copying golang binaries failed'
222 221
         exit 246824628