瀏覽代碼

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