Skip to content
Snippets Groups Projects
Commit eccd771b authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

remove temp file after download of multiple files

parent e0b554de
No related branches found
No related tags found
1 merge request!9remove temp file after download of multiple files
......@@ -10,13 +10,14 @@
# 2021-04-15 v1.2 <axel.hahn@iml.unibe.ch> added debugging of curl request
# 2021-10-14 v1.3 <axel.hahn@iml.unibe.ch> add nanoseconds in hashed base data
# 2023-02-14 v1.4 <axel.hahn@unibe.ch> compatibility to openssl v3
# 2023-09-15 v1.5 <axel.hahn@unibe.ch> remove temp file after download of multiple files
# ======================================================================
# ----------------------------------------------------------------------
# CONFIG
# ----------------------------------------------------------------------
version="v1.4"
version="v1.5"
about="CI PACKAGE GETTER $version;
(c) 2021 Institute for Medical Education (IML); University of Bern;
GNU GPL 3.0"
......@@ -315,6 +316,7 @@ if [ "$IMLCI_FILE" = "ALL" ]; then
-s "${IMLCI_PKG_SECRET}" \
-f "${myfile}"
done
rm -f "${tmpfilelist}"
else
makeRequest GET "/packages/$IMLCI_PHASE/$IMLCI_PROJECT/$IMLCI_FILE" "$IMLCI_OUTFILE" "$IMLCI_PKG_SECRET"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment