build: include environment variables for downloading bitcoin
for parent modules to specify npm rebuild and install behavior
This commit is contained in:
parent
76eeba5999
commit
9e0e9a2c89
@ -85,6 +85,14 @@ verify_download() {
|
||||
download=1
|
||||
verify=0
|
||||
|
||||
if [ "${SKIP_BITCOIN_DOWNLOAD}" = 1 ]; then
|
||||
download=0;
|
||||
fi
|
||||
|
||||
if [ "${VERIFY_BITCOIN_DOWNLOAD}" = 1 ]; then
|
||||
verify=1;
|
||||
fi
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
param="$1"
|
||||
value="$2"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user