Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions circuit_setup/scripts/gen_x509_cert_chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ export MSYS_NO_PATHCONV=1

# directory where intermediate files are kept
tmpdir=../generated_files/mdl1
# force relative paths that will work with openssl on both linux and windows.
scriptsdir=$(realpath --relative-to=$tmpdir $(pwd))
outdir=$(realpath --relative-to=$tmpdir ../inputs/mdl1)
# force relative paths that will work with openssl on linux, windows, and macOS.
current_dir=$(pwd)
scriptsdir=$(realpath "$current_dir")
outdir=$(realpath ../inputs/mdl1)
mkdir -p "$tmpdir"
cd "$tmpdir" || exit 1

Expand Down