From 0f51c0257d246b3858b9f18dd9b3e38d6d2ef201 Mon Sep 17 00:00:00 2001 From: Florent Gluck <florent.gluck@hesge.ch> Date: Tue, 30 Jul 2024 09:42:53 +0200 Subject: [PATCH] updated Makefile so that CERT defines the path to the public CA certificate instead of its directory. It makes more sense and is more consistent with the rest of the build process (notably live-exam-iso) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7dc24d05..4037f69b 100644 --- a/Makefile +++ b/Makefile @@ -255,7 +255,7 @@ help_client: @echo " Require LOGIN variable. Example:" @echo "" @echo "────────────────────────────────────────────────────────────────────────────────" - @echo " CERT: directory where the public CA certificate resides ($(CA_CERT_FILE))." + @echo " CERT: path to public CA certificate file ($(CA_CERT_FILE))." @echo " SERVER: server ip address and port, separated by a colon," @echo " for instance: SERVER=127.0.0.1:1077" @@ -263,7 +263,7 @@ copy_resources_client: @mkdir -p $(RESOURCES_DIR_CLIENT) @echo -n "$(SERVER)" > $(RESOURCES_DIR_CLIENT)/server ifdef CERT - @cp $(CERT)/$(CA_CERT_FILE) $(RESOURCES_DIR_CLIENT) + @cp $(CERT) $(RESOURCES_DIR_CLIENT)/ else @echo -n "" > $(RESOURCES_DIR_CLIENT)/$(CA_CERT_FILE) endif -- GitLab