Commit 8b5ac9cf authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Ophélie Gagnard

make_keys: fix environnment value error

parent f04e7fd2
......@@ -14,11 +14,19 @@ set -e
# get the root of the git repository (requires git to be installed)
GIT_ROOT=`git rev-parse --show-toplevel`
cd ${GIT_ROOT}/uefi-keys/
cd ${GIT_ROOT}/installation/
PROJECT_DIR=$GIT_ROOT
SERVER_GROUP=douai
CERT_DIR=uefi-keys/public-certificates
KEYS_DIR=uefi-keys/private-keys
PUBLIC_CERT_DIR=${PROJECT_DIR}/${CERT_DIR}/${SERVER_GROUP}
PRIVATE_KEYS_DIR=${PROJECT_DIR}/${KEYS_DIR}/${SERVER_GROUP}
PUBLIC_CERT_DIR=$(realpath -m "$PUBLIC_CERT_DIR")
PRIVATE_KEYS_DIR=$(realpath -m "$PRIVATE_KEYS_DIR")
# define useful variables
source env.sh
cd -
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment