Skip to content

Commit

Permalink
surround bash var with double quote to avoid interpretting wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
RUAN0007 committed Sep 9, 2024
1 parent 7930803 commit 747f580
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Edit `config/default.toml` such that `user_data_path` is the directory containin
cfg_dir_path="config"
output_proof_dir_path="proof"
./zk-por-prover prove --cfg-path ${cfg_dir_path} --output-path ${output_proof_dir_path}
./zk-por-prover prove --cfg-path "${cfg_dir_path}" --output-path "${output_proof_dir_path}"
```
In the current directory, a directory `proof` is generated with the below files:
```
Expand All @@ -22,7 +22,7 @@ For internal use.
```
global_proof_path="./proof/global_proof.json"
./zk-por-verifier verify-global --proof-path ${global_proof_path}
./zk-por-verifier verify-global --proof-path "${global_proof_path}"
```
If successful, the console shows
```
Expand All @@ -36,7 +36,7 @@ For internal use.
```
user_proof_path_pattern="./proof/user_proofs/*.json" # use wildcard to verify multiple files
./zk-por-verifier verify-user --global-proof-path ${global_proof_path} --user-proof-path-pattern ${user_proof_path_pattern}
./zk-por-verifier verify-user --global-proof-path "${global_proof_path}" --user-proof-path-pattern "${user_proof_path_pattern}"
```
If successful, the console shows
```
Expand Down

0 comments on commit 747f580

Please sign in to comment.