Browse Source

Delete img before exporting.

tags/v4.0.0-beta.1
Luigi Cruz 4 years ago
parent
commit
b995879867
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      builder/export-image/04-finalise/01-run.sh

+ 1
- 0
builder/export-image/04-finalise/01-run.sh View File

@@ -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…
Cancel
Save