Skip to content

Commit 808a356

Browse files
authored
Merge pull request #96 from lswith/fix-zip-compression
Copy instead of Move for zip files
2 parents 74cc7b2 + 89c50c7 commit 808a356

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compression/zip_wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ elif [ "${OPERATION}" = "decompress" ]; then
3030
mkdir -p "${RESTORE_DIR}"
3131
# shellcheck disable=SC2164 # we will exit anyway
3232
cd "${RESTORE_DIR}"
33-
mv "${SOURCE}" "${RESTORE_DIR}/compressed.zip"
33+
cp "${SOURCE}" "${RESTORE_DIR}/compressed.zip"
3434
unzip -o "compressed.zip"
3535
rm "compressed.zip"
3636
)

0 commit comments

Comments
 (0)