diff --git a/bin/getfile.sh b/bin/getfile.sh index 6bd3a5b8b7e98cb710cbb69b4de01ed0e531b5a2..b45ae66c1b04c38bf4aee3f2155d79cc8556ce2d 100755 --- a/bin/getfile.sh +++ b/bin/getfile.sh @@ -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