diff options
| author | Martin Ridgers <[email protected]> | 2022-01-20 10:11:20 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-20 10:31:07 +0100 |
| commit | 956b1a0cc8c8c137cb9e3ae027b012ac058c1f05 (patch) | |
| tree | 4c9a972823be00c5c988fed65d2fe519fc3ee6ae /bundle.lua | |
| parent | Added support for using info-zip with 'xmake bundle' (diff) | |
| download | zen-956b1a0cc8c8c137cb9e3ae027b012ac058c1f05.tar.xz zen-956b1a0cc8c8c137cb9e3ae027b012ac058c1f05.zip | |
Use os.tryrm instead of os.rm so failed deletes don't abort
Diffstat (limited to 'bundle.lua')
| -rw-r--r-- | bundle.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle.lua b/bundle.lua index 0802ba2c8..54b9c0f9a 100644 --- a/bundle.lua +++ b/bundle.lua @@ -35,7 +35,7 @@ end -------------------------------------------------------------------------------- local function _zip(zip_path, ...) - os.rm(zip_path) + os.tryrm(zip_path) import("detect.tools.find_7z") local cmd = find_7z() |