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

Merge branch 'fix-tempfile' into 'master'

remove temp file after download of multiple files

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