From 9e0e9a2c89c855ceeacca72d5ab74d5551707350 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Mon, 25 Apr 2016 16:27:00 -0400 Subject: [PATCH] build: include environment variables for downloading bitcoin for parent modules to specify npm rebuild and install behavior --- scripts/download | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/download b/scripts/download index 220bf560..93a04775 100755 --- a/scripts/download +++ b/scripts/download @@ -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"