瀏覽代碼

Delete img before exporting.

tags/v4.0.0-beta.1
Luigi Cruz 4 年之前
父節點
當前提交
b995879867
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      builder/export-image/04-finalise/01-run.sh

+ 1
- 0
builder/export-image/04-finalise/01-run.sh 查看文件

@@ -94,6 +94,7 @@ if [ "${DEPLOY_ZIP}" == "1" ]; then
tar -cJf "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.tar.xz" \
"$(basename "${IMG_FILE}")"
popd > /dev/null
rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"
else
cp "$IMG_FILE" "$DEPLOY_DIR"
fi


Loading…
取消
儲存