summarylogtreecommitdiffstats
path: root/0001-fetch-param-directory-env.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fetch-param-directory-env.patch')
-rw-r--r--0001-fetch-param-directory-env.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/0001-fetch-param-directory-env.patch b/0001-fetch-param-directory-env.patch
new file mode 100644
index 000000000000..182564125705
--- /dev/null
+++ b/0001-fetch-param-directory-env.patch
@@ -0,0 +1,13 @@
+diff --git a/zcutil/fetch-params.sh b/zcutil/fetch-params.sh
+index 392f60a2..54c46d3a 100755
+--- a/zcutil/fetch-params.sh
++++ b/zcutil/fetch-params.sh
+@@ -2,7 +2,7 @@
+
+ set -eu
+
+-PARAMS_DIR="$HOME/.zcash-params"
++PARAMS_DIR=${PARAMS_DIR:-$HOME/.zcash-params}
+
+ SPROUT_PKEY_NAME='sprout-proving.key'
+ SPROUT_VKEY_NAME='sprout-verifying.key'