build: include environment variables for downloading bitcoin

for parent modules to specify npm rebuild and install behavior
This commit is contained in:
Braydon Fuller 2016-04-25 16:27:00 -04:00
parent 76eeba5999
commit 9e0e9a2c89

View File

@ -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"