Skip to content
Snippets Groups Projects
Commit 0f51c025 authored by Florent Gluck's avatar Florent Gluck
Browse files

updated Makefile so that CERT defines the path to the public CA certificate...

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)
parent f59b67a6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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